以下是通达信底部参加副图指标公式码(无源码的请下载附件导入)
通达信底部参加副图指标 源码 贴图
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);
AA:EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13);
BB:EMA(0.667*REF(AA,1)+0.333*AA,2) , ;
STICKLINE(CROSS(AA,20) AND BB<AA,AA+19,AA-10,4,0),COLORYELLOW;
DRAWTEXT(CROSS(AA,22) AND BB<AA,AA-2,'*底部参加');
STICKLINE(BB<AA,AA,BB,4,0),COLORRED;
XG:IF(CROSS(AA,BB) AND AA<20 ,30,0),COLORMAGENTA;
逃顶:IF(FILTER(CROSS(BB,AA) AND AA>80 ,3),60,00),COLORGREEN;
178533121.jpg
|