怎样编制同花顺划线公式源码

2024-12-21 20:14:43
推荐回答(1个)
回答1:

VA1:=TROUGHBARS(2,5,1);
VR1:=PEAKBARS(1,5,1);
VA2:=IF(VA1=0,1,0);
VR2:=IF(VR1=0,1,0);
DRAWLINE(REF(VA2,1),L,VA2,L,1);
DRAWLINE(REF(VR2,1),H,VR2,H,1);