去掉之前画线 [文华财经]
-
咨询内容:
QQ:=C;A1:=REF(QQ,10)=HHV(QQ,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);A2:=REF(QQ,10)=LLV(QQ,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);A:=REF(C,BARSLAST(HD)); B:=REF(L,BARSLAST(LD));T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
支撑:=REF(LOW,BARSLAST(LD)),COLORGREEN,POINTDOT,LINETHICK4;压力:=REF(HIGH,BARSLAST(HD)),COLORRED,POINTDOT,LINETHICK4;DRAWNUMBER1(HD,HIGH,HIGH,0),COLORMAGENTA,ALIGN1,VALIGN2,FONTSIZE20;DRAWNUMBER1(LD,LOW,LOW,0),COLORRED,ALIGN1,VALIGN0,FONTSIZE20;DRAWSL(C>0,支撑,0,1,0,COLORGREEN),COLORGREEN,DASHDOTDOT;DRAWSL(C>0,压力,0,1,0,COLORRED),COLORRED,DASHDOTDOT;
老师好,请帮忙把支撑 压力线, 只保留最近一组画线,之前去掉
来源:程序化99
-
文华技术人员:
参考:
QQ:=C;A1:=REF(QQ,10)=HHV(QQ,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);A2:=REF(QQ,10)=LLV(QQ,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);A:=REF(C,BARSLAST(HD)); B:=REF(L,BARSLAST(LD));T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);AA:BACKSET(ISLASTBAR,BARSLAST(HD)+1),NODRAW;BB:BACKSET(ISLASTBAR,BARSLAST(LD)+1),NODRAW;支撑:=REF(LOW,BARSLAST(LD)),COLORGREEN,POINTDOT,LINETHICK4;压力:=REF(HIGH,BARSLAST(HD)),COLORRED,POINTDOT,LINETHICK4;DRAWNUMBER1(HD,HIGH,HIGH,0),COLORMAGENTA,ALIGN1,VALIGN2,FONTSIZE20;DRAWNUMBER1(LD,LOW,LOW,0),COLORRED,ALIGN1,VALIGN0,FONTSIZE20;DRAWSL(BB,支撑,0,1,0,COLORGREEN),COLORGREEN,DASHDOTDOT;DRAWSL(AA,压力,0,1,0,COLORRED),COLORRED,DASHDOTDOT;
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 或微信:cxhjy888 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容