此指标没有特别函数可以通用。若要知道指标的用法,请搞懂指标的意义,读懂指标源码,编写此指标的意图是想弄清楚股价涨跌所消耗的量能
VV:=AMOUNT/100000000;
能耗:VV/(C+(H-L)*0.618+ABS(C-O)*0.382),VOLSTICK,COLORWHITE;
STICKLINE(能耗>0,能耗,0,1,1),COLORAAAA00;
STICKLINE(能耗>0.05,能耗,0.05,1,0),COLORMAGENTA;
STICKLINE(能耗>0.5,能耗,0.5,1,0),COLORWHITE;
STICKLINE(能耗>1,能耗,1,1,0),COLORRED;
STICKLINE(能耗>2,能耗,2,1,0),COLOR00CCCC;
STICKLINE(能耗>3,能耗,3,1,0),COLORGREEN;
DLS:((EMA(能耗,1)+EMA(能耗,2))/2+EMA(能耗,3)+EMA(能耗,6)+EMA(能耗,12))/4,COLOR7F00FF,LINETHICK2;
DL13:EMA(能耗,13)+SLOPE(能耗,52)*4,COLORYELLOW,LINETHICK2;
DL55:EMA(能耗,55)+SLOPE(能耗,220)*4,COLOR00bb00,LINETHICK2;
71455403.png
|