把这个通达信的趋势线源码改为飞狐

2023-02-21 10:00发布

n1:=20;AA1:=BACKSET(ISLASTBAR,PEAKBARS(1,N,1)+1);AA2:=AA1>REF(AA1,1);BB1:=BACKSET(ISLASTBAR,PEAKBARS(1,N,2)+1);BB2:=BB1>REF(BB1,1);CC1:=BACKSET(ISLASTBAR,PEAKBARS(1,N,3)+1);CC2:=CC1>REF(CC1,1);AA11:=BACKSET(ISLASTBAR,TROUGHBARS(2,N,1)+1);AA21:=AA11>REF(AA11,1);BB11:=BACKSET(ISLASTBAR,TROUGHBARS(2,N,2)+1);BB21:=BB11>REF(BB11,1);CC11:=BACKSET(ISLASTBAR,TROUGHBARS(2,N,3)+1);CC21:=CC11>REF(CC11,1);①:DRAWLINE(BB2,H,AA2,H,1),COLORBLUE;②:DRAWLINE(CC2,H,BB2,H,1),COLORCC6633;③:IF(AA1,PEAK(1,N,1),DRAWNULL
 解锁全文需 1  财富值,免费注册即送20财富值!