大道至简,返璞归真的K线图,没有比这再简单的指标了:红色买入并持有,蓝色卖出并持币观望,就这么简单!
网络上看到的大道至简源码
AP:=(H+L+C*2)/4;
EPL:=DMA(AP,ABS(AP/MA(C,30)-1));
EML:=MA(AP*C/EPL,3);
EAL:=(4-EML/EPL)/3*EML;
EALS:IF(EAL>REF(EAL,1),1,-1),NODRAW;
STICKLINE(EALS>0,H,L,0,0),COLORRED;
STICKLINE(EALS>0 AND C>=O,O,C,2,1),COLORRED;
STICKLINE(EALS>0 AND C< O,O,C,2,0),COLORRED;
STICKLINE(EALS<0,H,L,0,0),COLORCYAN;
STICKLINE(EALS<0 AND C>=O,O,C,2,1),COLORCYAN;
STICKLINE(EALS<0 AND C< O,O,C,2,0),COLORCYAN;
79599117.jpg
|