文章预览
点击 关注↓↓↓ , 置顶 + 星标 每天订阅, 学习更多指标内容 ☼↓↓↓ 公式如下: CURRBARSCOUNT:=REFX1(BARPOS,9999)-BARPOS+1; TC1S:=IF(H=HHV(H,48),H,NULL); TC2S:=REFX1(BARSLAST(TC1S=H),9999)+1; UPPERS:=REFX1(IF(TC2S=1,H,REF(H,TC2S-1)),9999); BC1S:=IF(L=LLV(L,48),L,NULL); BC2S:=REFX1(BARSLAST(BC1S=L),9999)+1; LOWERS:=REFX1(IF(BC2S=1,L,REF(L,BC2S-1)),9999); LPS:=CURRBARSCOUNT < =BC2S AND L=LOWERS; HPS:=CURRBARSCOUNT < =TC2S AND H=UPPERS; AB1S:=EMA(((2*C+H+L)/4-LLV(LOW,30))/ (HHV(HIGH,30)-LLV(LOW,30))*100,8); BA1S:=EMA(AB1S,5); 峰谷:=1; PA:=10; PB:=REF(HIGH,PA)=HHV(HIGH,2*PA+1); PC:=FILTER(PB,PA); PD:=BACKSET(PC,PA+1); PE:=FILTER(PD,PA); AA21:=REF(LOW,PA)=LLV(LOW,2*PA+1); BB21:=FILTER(AA21,PA); CC21:=BACKSET(BB21,PA+1); DD21:=FILTER(CC21,PA); 局部低点预选A:=BACKSET(LLV(L,10) 局部低点预选B:=BACKSET(局部低点预选A=0 AND REF(局部低点预选A,1)=1,2); 局部低点预选C:=IF(局部低点预选B=1 AND REF(局部低点预选B,1)=0,-1,0)
………………………………