点石成金
注:有未来,
看你怎么用,想加一些提示的自己DIY吧,像流水一样的走势!
{点石成金}
DN:=10;
EMA3:=EMA(C,3);
DSCJ1:=PEAKBARS(3,DN,1);
DSCJ2:=TROUGHBARS(3,DN,1);
DSCJ3:=PEAKBARS(2,DN,1);
DSCJ4:=TROUGHBARS(2,DN,1);
分界:MA(EMA(MAX(C,O),3),DSCJ1+1),LINETHICK1,COLORFFB900,NODRAW;
点石:MA(LLV(EMA3,3),DSCJ2+1),LINETHICK1,COLORMAGENTA,NODRAW;
成金:=MA(HHV(EMA3,1),DSCJ3+1),LINETHICK1,COLORYELLOW;
成金2:=MA(LLV(EMA3,1),DSCJ4+1),LINETHICK1,COLORWHITE;
IF(DSCJ1>0,分界,DRAWNULL),LINETHICK2,COLORFFB900;
IF(DSCJ2>0,点石,DRAWNULL),COLORMAGENTA,LINETHICK2;
IF(DSCJ3>0,成金,DRAWNULL),DOTLINE,COLORYELLOW;
IF(DSCJ4>0,成金2,DRAWNULL),DOTLINE,COLORWHITE;
角度1:=ATAN((分界/REF(分界,1)-1)*100)*180/3.1415926,NODRAW COLORWHITE;
角度2:=ATAN((点石/REF(点石,1)-1)*100)*180/3.1415926,NODRAW COLORWHITE;
成1:=ATAN((成金/REF(成金,1)-1)*100)*180/3.1415926;
成2:=ATAN((成金2/REF(成金2,1)-1)*100)*180/3.1415926;