动力K线红涨绿跌
红涨绿跌,抄底逃顶. 动力线可反应走势强弱, K线阳包阴或阴包阳作为操作信号.
源码
LV:=LLV(LOW,9);HV:=HHV(HIGH,9);K:=EMA((CLOSE-LV)/(HV-LV)*100,5);DK:=K-REF(K,1);EMA1:=EMA(C,13);DE:=EMA1-REF(EMA1,1);MK:=IF(DK<0,-2,1);ME:=IF(DE<0,0,1);M: MK+ME, NODRAW;STICKLINE(M==2 , K ,REF(K,1),10 , 0),colorred;STICKLINE(M==1 , K ,REF(K,1),10 , 0),colorlired;STICKLINE(M==-2, K ,REF(K,1),10 , 0),colorgreen;STICKLINE(M==-1, K ,REF(K,1),10 ,0),colorligreen;底部:5, colorligray;关注:15,DOTLINE, colorligray;止盈: 85,DOTLINE, colorligray;清仓: 95,colorligray;