qzuser
2024-11-15 07:51:50
最佳回答
试试!!! **:90,color004000; 强弱线:50,color004000; 底部线:20,color004000; sat:=(amount/c)/(hhv(amount,21)/hhv(c,21)); 量能饱和度:=if(sat>1,1,sat)*100,color808080; 量能100:stickline(量能饱和度>=98,5,量能饱和度,2,100),color004000; ar1:=if(((ema(close,5))/(ema(ema(close,9),16))<=0.85) and ((close)/(ref(close,1))>0.905) and ((close)/(ref(close,1))<1.05) and ((vol/capital)*(100)<5),50,0); ar2:=if((high+low<=ref(high,1)+ref(low,1)),0,max(abs(high-ref(high,1)),abs(low-ref(low,1)))); ar3:=if((high+low>=ref(high,1)+ref(low,1)),0,max(abs(high-ref(high,1)),abs(low-ref(low,1)))); ar4:=(sum(ar2,13))/(sum(ar2,13)+sum(ar3,13)); ar5:=(sum(ar3,13))/(sum(ar3,13)+sum(ar2,13)); **:=100-(3)*(sma(((close-llv(low,75))/(hhv(high,75)-llv(low,75)))*(100),20,1))+(2)*(sma(sma(((close-llv(low,75))/(hhv(high,75)-llv(low,75)))*(100),20,1),15,1)); ar7:=100-(3)*(sma(((open-llv(low,75))/(hhv(high,75)-llv(low,75)))*(100),20,1))+(2)*(sma(sma(((open-llv(low,75))/(hhv(high,75)-llv(low,75)))*(100),20,1),15,1)); ar8:=((hhv(high,21)-close)/(hhv(high,21)-llv(low,21)))*(100)-10; ar9:=((close-llv(low,21))/(hhv(high,21)-llv(low,21)))*(100); ar10:=sma(ar9,13,8); ar11:=sma(ar8,21,8); 红男:=sma(ar10,13,8),colorred; 绿女:=ma((((-100))*(hhv(high,34)-close))/(hhv(high,34)-llv(low,34))+100,5),color00ff00; 鸽子: 红男,colorwhite; 橄榄枝: 绿女,color00ff00; drawtext(红男-ar11<(-65)and ar1 or 红男-ar11<(-65)and 绿女>ref(绿女,1),low,'■'),coloryellow; { 两条线在底部区域同时向上拐头时买入,在顶部区域同时向下拐头时注意逃顶。若两条线不能持续向上,买进后应随时请注意止损。} drawicon(cross(红男,绿女)and 红男<50 and 绿女>ref(绿女,1) or cross(红男,绿女)and 红男<20 and 红男>ref(红男,2),60,1); 0,color004000; 20210311