R:=AMOUNT/100000000;
R1:=IF(C>REF(C,1),R,0);
R3:=SUM(R1,21);
JJ:=R3*C;
AA:=MA(JJ,3);
A:SMA(AA,2,1),COLORWHITE;
B:SMA(SMA(AA,2,1),3,1),COLORYELLOW;
平衡位:MA(JJ,21),COLOR00FF00,LINETHICK2;
{ _通达信股票指标公式}
STICKLINE(AA>=REF(AA,1),REF(AA,1),AA,3.5,0),COLORRED,LINETHICK2;
DRAWTEXT(crOSS(A,B) AND V>REF(V,1) AND REF(V,1)>REF(V,2),B*0.98,’短买’),COLORYELLOW;
DRAWTEXT(CROSS(B,A),A*1.02,’短卖’),COLORGREEN;
DRAWTEXT(CROSS(A,平衡位),平衡位*0.98,’加仓’),COLORFF00FF;
DRAWTEXT(CROSS(平衡位,A),A*1.02,’减仓’),COLOR33FF33;
DRAWTEXT(CROSS(B,平衡位),平衡位*0.98,’满仓’),COLORWHITE;
DRAWTEXT(CROSS(平衡位,B),B*1.02,’清仓’);
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)