老版本高低点在新版本就不通过 [博易POBO]
咨询内容:
高低点:=1;
STEP:=间隔/2;
DIGIT:=IF(FRACPART(HIGH-LOW)*100>0,2,IF(FRACPART(C)*1000>0,3,0));
FILTERD:=COUNT(REFX(ISLASTBAR,STEP/2-1),0)=0;
HH:= IF(FILTER(H+0.001 > REFX(HHV(H,STEP*2), STEP) AND FILTERD, STEP), H, 0);
LL:= IF(FILTER(L-0.001 < REFX(LLV(L,STEP*2), STEP) AND FILTERD, STEP), L, 0);
DRAWNUMBER(HH, HH, HH, DIGIT), VALIGN2,COLOR00FF00;
DRAWNUMBER(LL, LL, LL, DIGIT), VALIGN0,COLOR00FFFF;
STEP1:=10/2;
DIGIT:=IF(FRACPART(HIGH-LOW)*100>0,2,IF(FRACPART(C)*1000>0,3,0));
FILTERD:=COUNT(REFX(ISLASTBAR,STEP1/2-1),0)=0;
HH:= IF(FILTER(H+0.001 > REFX(HHV(H,STEP1*2), STEP1) AND FILTERD, STEP1), H, 0);
LL:= IF(FILTER(L-0.001 < REFX(LLV(L,STEP1*2), STEP1) AND FILTERD, STEP1), L, 0);
DRAWSL(HH, HH,0,20,0), VALIGN2,COLOR00FF00;
DRAWSL(LL, LL,0,20,0), VALIGN0,COLOR00FFFF; 来源 程序化久久网
老版本高低点在新版本就不通过
请问老师老版本高低点在新版本就不通过,并要向后延伸划点线高低点:=1;
STEP:=间隔/2;
DIGIT:=IF(FRACPART(HIGH-LOW)*100>0,2,IF(FRACPART(C)*1000>0,3,0));
FILTERD:=COUNT(REFX(ISLASTBAR,STEP/2-1),0)=0;
HH:= IF(FILTER(H+0.001 > REFX(HHV(H,STEP*2), STEP) AND FILTERD, STEP), H, 0);
LL:= IF(FILTER(L-0.001 < REFX(LLV(L,STEP*2), STEP) AND FILTERD, STEP), L, 0);
DRAWNUMBER(HH, HH, HH, DIGIT), VALIGN2,COLOR00FF00;
DRAWNUMBER(LL, LL, LL, DIGIT), VALIGN0,COLOR00FFFF;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 高低点:=1;STEP1:=10/2;
DIGIT:=IF(FRACPART(HIGH-LOW)*100>0,2,IF(FRACPART(C)*1000>0,3,0));
FILTERD:=COUNT(REFX(ISLASTBAR,STEP1/2-1),0)=0;
HH:= IF(FILTER(H+0.001 > REFX(HHV(H,STEP1*2), STEP1) AND FILTERD, STEP1), H, 0);
LL:= IF(FILTER(L-0.001 < REFX(LLV(L,STEP1*2), STEP1) AND FILTERD, STEP1), L, 0);
DRAWSL(HH, HH,0,20,0), VALIGN2,COLOR00FF00;
DRAWSL(LL, LL,0,20,0), VALIGN0,COLOR00FFFF; 来源 程序化久久网
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 或微信:cxhjy888 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容