怎么过滤 [金字塔]
- 咨询内容:
请老师帮我看看怎么过滤后面的图标:BAA:=1;MA4:=EMA(CLOSE,10)*BAA;HH:=HHV(HIGH,5)*BAA;LL:=LLV(LOW,5)*BAA;H1:=IFELSE(CLOSE>REF(HH,1),1,0)*BAA;L1:=IFELSE(CLOSE<REF(LL,1),-1,0)*BAA;H0:=REF(HIGH,1)*BAA;L0:=REF(LOW,1)*BAA;P7:=H1+L1*BAA;P8:=IFELSE(P7=0,REF(P7,1),P7)*BAA;P9:=IFELSE(P8=0,REF(P8,1),P8)*BAA;P10:=IFELSE(P9=0,REF(P9,1),P9)*BAA;P11:=IFELSE(P10=0,REF(P10,1),P10)*BAA;P12:=IFELSE(P11=0,REF(P11,1),P11)*BAA;P13:=IFELSE(P12=0,REF(P12,1),P12)*BAA;P14:=IFELSE(P13=0,REF(P13,1),P13)*BAA;P15:=IFELSE(P14=0,REF(P14,1),P14)*BAA;P16:=IFELSE(P15=0,REF(P15,1),P15)*BAA;P17:=IFELSE(P16=0,REF(P16,1),P16)*BAA;P18:=IFELSE(P17=0,REF(P17,1),P17)*BAA;P19:=IFELSE(P18=0,REF(P18,1),P18)*BAA;P20:=IFELSE(P19=0,REF(P19,1),P19)*BAA;P21:=IFELSE(P20=0,REF(P20,1),P20)*BAA;P22:=IFELSE(P21=0,REF(P21,1),P21)*BAA;P23:=IFELSE(P22=0,REF(P22,1),P22)*BAA;P24:=IFELSE(P23=0,REF(P23,1),P23)*BAA;P25:=IFELSE(P24=0,REF(P24,1),P24)*BAA;P26:=IFELSE(P25=0,REF(P25,1),P25)*BAA;P27:=IFELSE(P26=0,REF(P26,1),P26)*BAA;P28:=IFELSE(P27=0,REF(P27,1),P27)*BAA;P29:=IFELSE(P28=0,REF(P28,1),P28)*BAA;P30:=IFELSE(P29=0,REF(P29,1),P29)*BAA;T:=IFELSE(P30=0,REF(P30,1),P30)*BAA;T=1,BPK;T=-1,SPK;variable:num=0 ;if T=1 and num=0 then num:=1;drawicon(T=1,low,1);if T=-1 and num:=1 then num:=0;drawicon(T=-1,low,2);
- 金字塔客服:
具体要怎么过滤?
- 用户回复:
出第一个讯号,直到反向讯号出来,不再显示同样的图标
- 网友回复:
你是想在最后一根K上绘制笑脸或者哭脸?
if T=1 and num=0 then num:=1;
drawicon(ISLASTBAR=1,low,1);
if T=-1 and num:=1 then num:=0;
drawicon(ISLASTBAR=1,low,2); - 网友回复: 是的
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容