帅不过三秒的马树
2024-12-01 15:27:17
最佳回答
上证kdj:szc:=indexdata("1a0001",&indexc);szh:=indexdata("1a0001",&indexh);szl:=indexdata("1a0001",&indexl);rsv=(szc-llv(szl,9))/(hhv(szh,9)-llv(szl,9))*100;a=sma(rsv,3,1);b=sma(a,3,1);e=3*a-2*b;if(a<0) a=0;if(a>100) a=100;if(b<0) b=0;if(b>100) b=100;if(e<0) e=0;if(e>100) e=100;k:a;d:b;j:e;上证k线副图:vc:=indexdata("1a0001",&indexc);vo:=indexdata("1a0001",&indexo);vh:=indexdata("1a0001",&indexh);vl=indexdata("1a0001",&indexl);stickline(vo>=vc,vc,vo,7,0 ),colorcyan; stickline(vo>=vc,vc,vl,0.1,0 ),colorcyan; stickline(vo>=vc,vo,vh,0.1,0 ),colorcyan; stickline(vc>vo,vc,vo,7,1),colorred; stickline(vc>vo,vo,vl,0.1,1),colorred; stickline(vc>vo,vc,vh,0.1,1),colorred; stickline(vc=vo and vc>ref(vc,1),vc,vo,7,1 ),colorred; stickline(vc=vo and vc>ref(vc,1),vc,vh,0.7,1 ),colorred; stickline(vc=vo and vc>ref(vc,1),vo,vl,0.7,1 ),colorred; m5:ma(vc,5),colorwhite;m10:ma(vc,10),colorffaa66;m30:ma(vc,30),color0055ff;m60:ma(vc,60),color00ffff; 20210311