以下是大智慧火箭导弹源码副图
{技术指标公式:火箭导弹
参数描述: N(1,30,15) M(1,50,32) }
Var1:=DMA(AMOUNT/VOL/100, VOL/CAPITAL);
Var2:=MA(WINNER(HIGH)-WINNER(Var1), N);
Var3:=MA(WINNER(LOW)-WINNER(Var1), M);
Var4:=Var3-Var2;
IF(Var4>0, Var4*10, 0), STICK, COLORRED;
IF(Var4<=0, Var4*3, 0)*(-1), STICK, COLORGREEN;
IF(REF(Var4, 2)Var4 AND Var4>0, Var4*10, 0), COLORYELLOW;
DRAWTEXT(REF(Var4,2)Var4 AND Var4>0 AND
Var4*10>1,Var4*10,’火箭’);
DRAWTEXT(REF(Var4,2)Var4 AND Var4>0 AND
Var4*10<1 AND Var4*10>0.55,Var4*10,’导弹’);
DRAWTEXT(REF(Var4,2)Var4 AND Var4>0 AND
Var4*10<=0.55,Var4*10,’炮弹’);
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)