以下是通达信底顶特准主图公式

通达信底顶特准主图公式

强弱线:MA(C,5),COLORFF00FF,LINETHICK3;
{强弱线1:EMA(MA(C,5),8),COLORLIGREEN,LINETHICK2;}

AAF:=LLV(LOW,34),LINETHICK1,COLORFFFFCC;{====}
BBF:=MA(AAF,4),LINETHICK1,COLORYELLOW;{====}
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),4,1)/SMA(ABS(CLOSE-LC),4,1)*100;

VAR27:=REF(CLOSE,1);
VAR28:=SMA(MAX(CLOSE-VAR27,0),5,1)/SMA(ABS(CLOSE-VAR27),5,1)*100;

VARA:=((AMOUNT)/(VOL))/(100);
VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
VARC:=((SUM(AMOUNT,7))/(VARA))/(100);
VARD:=DMA(VARB,(VOL)/(VARC));
VARE:=((CLOSE-VARD)/(VARD))*(100);
VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);
VARJ:=MA(VARE,20)+STD(VARE,20);
BIAS13:=((CLOSE-MA(CLOSE,13))/(MA(CLOSE,13)))*(100);AA:=SMA(VARF,3,1);
SS:=(REF(BIAS13,1)>=5) AND CROSS(VARJ,VARE) AND (AA>79);

VAR1:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);
VAR2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);

VAR9:=IF(YEAR > 2110,0,VAR1);
VAR10:=IF(YEAR > 2110,0,VAR2);
STICKLINE(VAR9,H*1.02,H,10,0),COLORYELLOW,LINETHICK2;
STICKLINE(VAR10,L*0.96,L*0.91,10,0),COLORRED,LINETHICK2;

DRAWICON(VAR10,L*0.9,1);
DRAWICON(VAR10,L*0.98,25);
趋势线: IF (M > 0,ZIG(3,10),DRAWNULL),COLORYELLOW;
{SMX,COLORWHITE,LINETHICK2;};
QSX: IF(M=1,MA(CLOSE,P),DRAWNULL)COLORGREEN,LINETHICK2;
LE: IF(M=1,MA(CLOSE,F),DRAWNULL)COLORWHITE,LINETHICK2;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。