以下是逃顶专家源码

C/C++ Code复制内容到剪贴板INPUT:N(18); 量:=(CLOSE – LLV(LOW,32)) / (HHV(HIGH,32) – LLV(LOW,32)) * 1.2 * CLOSE; 量1:=EMA(量,3); 量2:=EMA(量,5); 量3:=EMA(量,7); STICKLINE(量1 >= 量2,量3,量1,8,0),color0000AA; STICKLINE(量1 >= 量2,量3,量1,7,0),color0000BB; STICKLINE(量1 >= 量2,量3,量1,6,0),color0000CC; STICKLINE(量1 >= 量2,量3,量1,5,0),color0000DD; STICKLINE(量1 >= 量2,量3,量1,4,0),color0000EE; STICKLINE(量1 >= 量2,量3,量1,3,0),color0000FF; STICKLINE(量1 <= 量2,量3,量1,8,0),colorFF0000; STICKLINE(量1 <= 量2,量3,量1,7,0),colorFF3300; STICKLINE(量1 <= 量2,量3,量1,6,0),colorFF5500; STICKLINE(量1 <= 量2,量3,量1,5,0),colorFF7700; STICKLINE(量1 <= 量2,量3,量1,4,0),colorFF9900; STICKLINE(量1 <= 量2,量3,量1,3,0),colorFFBB00; STICKLINE(量1 <= 量2,量3,量1,2,0),colorFFDD00; STICKLINE(量1 <= 量2,量3,量1,1,0),colorFFFF00; T1:=量2 >= 量3 AND 量1 < REF(量1,1); T2:=量2 < 量3 AND 量1 > REF(量1,1); STICKLINE(T1,量1,量3,8,0),colorFFBB11; STICKLINE(T1,量1,量3,7,0),colorFFCC22; STICKLINE(T1,量1,量3,5,0),colorFFDD33; STICKLINE(T1,量1,量3,3,0),colorFFEE44; STICKLINE(T1,量1,量3,1,0),colorFFFF55; STICKLINE(T2,量1,量3,10,0),color338FDD; STICKLINE(T2,量1,量3,8,0),colorFF00FF; STICKLINE(T2,量1,量3,1,0),color00DDFF; STICKLINE(T2,量1,量3,8,0),color00AAFF; STICKLINE(T2,量1,量3,6.6,0),color00BBFF; STICKLINE(T2,量1,量3,4.4,0),color00CCFF; STICKLINE(T2,量1,量3,3.3,0),color00DDFF; STICKLINE(T2,量1,量3,2.2,0),color00EEFF; STICKLINE(T2,量1,量3,1,0),color00FFFF; 大涨:CLOSE/REF(CLOSE,1)>=1.09 OR ((H-L)/REF(C,1)>0.1 AND C=H),LINETHICK0,color00ffFF; STICKLINE(大涨,量1,量3,8,0),color00ffFF; 大跌:(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<-0.098 OR ((H-L)/REF(C,1)>0.1 AND C=L),LINETHICK0,color00ff00; STICKLINE(大跌,量1,量3,8,0),color00ff00; HH:=HHV(量1,N); LL:=LLV(量1,N); 高:VALUEWHEN(量1>=REF(HH,1),量1),color33DDEE,LINETHICK0; 低:VALUEWHEN(量1<=REF(LL,1),量1),colorff00ff,LINETHICK0; PARTLINE(高=REF(高,1),高),color33DDEE; PARTLINE(低=REF(低,1),低),colorff00ff; DRAWLINE(低=量1,量1,REF(高=量1,1) AND 高=量1 ,高,0),LINEDOT; DRAWLINE(高=量1,量1,REF(低=量1,1) AND 低=量1 ,低,0),LINEDOT;

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