主力散户线指标公式 当黄色主力线与绿色散户线金叉时为买点
源码
{短线: KDJ.J (5,3,3),COLORAAAAAA;}
散户线: 100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60)),LINETHICK2,COLOR00FF00;
RSV30:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
K30:=SMA(RSV30,5,1);
D30:=SMA(K30,3,1);
J30:=3*K30-2*D30; 主力线:EMA(J30,6),COLORYELLOW,LINETHICK2;
RSV21:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K21:=SMA(RSV21,13,8);
趋势:CEILING(SMA(K21,13,8)),COLORRED,LINETHICK1;
0;20;50;80;100;