以下是大智慧未来趋势副图源码

q1:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;
q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
q3:=SMA(q2, 9, 1);
q4:=SMA(q3, 3, 1);
aa:3*q3-2*q4,color1010FF;
q5:=aa>1*REF(aa, 1);
q6:=LLVBARS(LOW, 50);
q7:=SUM(VOL, q6);
q8:=HHVBARS(HIGH, 50);
q9:=SUM(VOL, q8);
q10:=(CLOSE-REF(OPEN, q8))/REF(OPEN, q8)*100;
q11:=HHV(aa,5);
A1:EMA(q3, 3), COLORFFDDCC;
A2:EMA(a1, 3), COLORFFBBCC;
A3:EMA(a2, 3), COLORFF99CC;
A4:EMA(a3, 3), COLORFF55CC;
A5:EMA(a4, 3), COLORFF33CC;
A6:EMA(a5, 3), COLORFF11CC;
a:EMA(a4, 3),LINETHICK2, COLORFF00CC;
DRAWTEXT(CROSS(aa, 20) AND q10<-13,10,’大底’),color00ff00;
DRAWTEXT(CROSS(aa, a5) AND ref(aa,1)<34,ref(aa,1),’小底’), color00ff00;
DRAWTEXT(CROSS(A1, aa) AND ref(aa,1)>80, ref(aa,3), ‘顶’), COLORYELLOW;
DRAWTEXT(CROSS(aa, A1) AND q5 AND a1<20 AND q1>9 OR a1>1*REF(a1, 1)
AND q1>4 AND a1<60, 50, ‘拉’), COLORFFFFCC;

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