在线检测未来函数

将点金跑道转为大智慧的

来源:Internet,编辑:股旁网,2012-05-28

编写要求:

股旁网解答:

 网友求助:

点金跑道
源码:
天际: (MA(CLOSE,40)) + 2*STD(CLOSE,40),LINETHICK2,COLORBLUE;
海底: (MA(CLOSE,40)) - 2*STD(CLOSE,40),LINETHICK2,COLORBLUE;
买卖决策①:EXPMA(CLOSE,12),CIRCLEDOT,COLORWHITE;
红持绿抛②:MA(CLOSE,25),COLORRED;
红持绿抛③:MA(CLOSE,30),COLORGREEN;DRAWBAND(红持绿抛②,RGB(255,0,0),红持绿抛③,RGB(0,255,0));
NOTEXT1:IF(CLOSE>买卖决策① AND CLOSE!=买卖决策①,买卖决策①,DRAWNULL),CIRCLEDOT,COLORRED;
NOTEXT2:IF(CLOSE<买卖决策① AND CLOSE!=买卖决策①,买卖决策①,DRAWNULL),CIRCLEDOT,COLORGREEN;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
 
 
解答如下:
天际:(MA(CLOSE,40)) + 2*STD(CLOSE,40),LINETHICK2,COLORBLUE;
海底:(MA(CLOSE,40)) - 2*STD(CLOSE,40),LINETHICK2,COLORBLUE;
买卖决策①:EMA(CLOSE,12),CIRCLEDOT,COLORWHITE;
红持绿抛②:MA(CLOSE,25),COLORRED;
红持绿抛③:MA(CLOSE,30),COLORGREEN;
FILLRGN(红持绿抛②,红持绿抛③,红持绿抛②>红持绿抛③,RGB(255,0,0),红持绿抛②<红持绿抛③,RGB(0,255,0));
PARTLINE(买卖决策①,CLOSE>买卖决策① AND CLOSE<>买卖决策①,RGB(250,0,0)),CIRCLEDOT;
PARTLINE(买卖决策①,CLOSE<买卖决策① AND CLOSE<>买卖决策①,RGB(0,250,0)),CIRCLEDOT;
 

 

相关文章