|
通达信二次握手主图源码公式:
ma5:MA(CLOSE,5),ColorFFFFFF;
ma10:MA(CLOSE,10),color00cc99;
ma20:MA(CLOSE,20),ColorBCFF8B;
ma30:MA(CLOSE,30),ColorBCFF8B;
ma60:MA(CLOSE,60),colorwhite;
ma120:MA(CLOSE,120),colorgreen;
fa:=BARSLAST(CROSS(ma10,ma5)) and CROSS(ma5,ma10);
fb:=fa and ma5>ma30 and ma10>ma30 and ma10>REF(ma10,1);
STICKLINE(fb,LOW,LOW-0.09,4,0),colorwhite;
DRAWTEXT(fb,LOW-0.13,'握手'),colorwhite;
fa1:=BARSLAST(CROSS(ma60,ma20)) and CROSS(ma20,ma60);
fb1:=fa and ma20>ma120 and ma60>ma120 and ma20>REF(ma20,1);
STICKLINE(fb,LOW,LOW-0.09,4,0),colorwhite;
DRAWTEXT(fb,LOW-0.13,'握手'),,Color00FF00;
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);
BIAS18:=(CLOSE-MA(CLOSE,18))/MA(CLOSE,18)*100;
K:=SMA(VarF,3,1);
DRAWTEXT(REF(BIAS18,1)>=5 AND CROSS(VarJ,VarE) AND K>79 ,H+0.1,'先走一走'),,COLORYELLOW; |
上一篇:[通达信]通达信很准风险副图源码公式下一篇:[通达信]通达信黄金主图源码公式
|