天数:=barslast(ref(cross(rsi.rsi1,ref(rsi.rsi1,1)),1));aa:=cross(rsi.rsi1,ref(rsi.rsi1,1)) and rsi.rsi1<30 and ref(rsi.rsi1,1)>ref(rsi.rsi1,天数+2);bb:=ref(c,1)<ref(c,天数+2);xg:aa and bb and 天数<10; 20210311
呵呵 你这个问题比较有针对性 不错 我再给你加个5 10 20均线成多头排列 这样会更好些 但是注意大盘的风险 a1:=ma(c,5);a2:=ma(c,10);a3:=ma(c,20);xg:a1>a2 and a2>a3 and ref(l,1)(c,2)>a2 and ref(c,3)>a1 and c>a1 and vol>ref(vol,1)and r...
diff:ema(c,12)-ema(c,26);dea:ema(diff,9);macd:2*(diff-dea),colorstick,linethick2;a1:=barslast(ref(cross(diff,dea),1));底背离:=ref(c,a1+1)>c and diff>ref(diff,a1...
drawtext(high>ref(high,1) and high>ref(high,2) and h>refx(&high,1) ,h*1.01,'▲'),colorred;drawtext(l<ref(l,1) and l<ref(l,2) and l<refx(&low,1) ,l,'▼'),color00ff00;cc:...