帝纳波利公式原码

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

D=1显示趋势向下的OP,并设置A_TIME,B_TIME,C_TIME的参数为高低点的日期, D=2显示趋势向上的OP,

详细内容请参看《帝纳波利点位交易法》一书。

显隐折返线(1,0,1)---- 0不显示 1显示第1组(1,0,1000),第2组(0,0,1000),第3组(0,0,1000)----0不显示A高低选择(1,-1,1)----A点: -1最低价 1最高价 0该组ABC不显示移动A(0,0,1000)----随便移动自定倍率(-1,-1,2)---- -1不显示该线0--2之间的任意数(包括小数)倍率线博易公式:DDD:DATE,LINETHICK0,COLORWHITE;A1:=IF(D=1, REF(H,BARSLAST(DATE=A_TIME)), IF(D=2, REF(L,BARSLAST(DATE=ATIME)), 0));B1:=IF(D=1, REF(L,BARSLAST(DATE=B_TIME)), IF(D=2, REF(H,BARSLAST(DATE=BTIME)), 0));C1:=IF(D=1, REF(H,BARSLAST(DATE=C_TIME)), IF(D=2, REF(L,BARSLAST(DATE=CTIME)), 0));入场点1:=0.618*(A1-B1)+B1,COLORRED;入场点2:=0.5*(A1-B1)+B1,COLORRED;入场点3:=0.382*(A1-B1)+B1,COLORRED;OP:B1-A1+C1,COLORYELLOW,LINETHICK0;COP:0.618*(B1-A1 )+C1,COLORYELLOW,LINETHICK0;XOP:1.618*(B1-A1)+C1,COLORYELLOW,LINETHICK0;PARTLINE (DD=10 AND DATE>= B_TIME AND D=1, 入场点1), COLORRED;PARTLINE(DD=10 AND DATE>= B_TIME AND D=1, 入场点2), COLORRED;PARTLINE(DD=10 AND DATE>= B_TIME AND D=1, 入场点3), COLORRED;PARTLINE(DD=10 AND DATE>= BTIME AND D=2, 入场点1), COLORRED;PARTLINE(DD=10 AND DATE>= BTIME AND D=2, 入场点2), COLORRED;PARTLINE(DD=10 AND DATE>= BTIME AND D=2, 入场点3), COLORRED;DRAWNUMBER(FILTER(DD=10 AND DATE>= B_TIME AND D=1,300),入场点1,0.618,3),ALIGN2;DRAWNUMBER(FILTER(DD=10 AND DATE>= B_TIME AND D=1,300),入场点2,0.5,1),ALIGN2;DRAWNUMBER(FILTER(DD=10 AND DATE>= B_TIME AND D=1,300),入场点3,0.382,3),ALIGN2;DRAWNUMBER(FILTER(DD=10 AND DATE>= BTIME AND D=2,300),入场点1,0.618,3),ALIGN2;DRAWNUMBER(FILTER(DD=10 AND DATE>= BTIME AND D=2,300),入场点2,0.5,1),ALIGN2;DRAWNUMBER(FILTER(DD=10 AND DATE>= BTIME AND D=2,300),入场点3,0.382,3),ALIGN2;PARTLINE(DD=10 AND DATE>= C_TIME AND D=1, OP), COLORYELLOW;PARTLINE(DD=10 AND DATE>= C_TIME AND D=1, COP), COLORYELLOW;PARTLINE(DD=10 AND DATE>= C_TIME AND D=1, XOP), COLORYELLOW;PARTLINE(DD=10 AND DATE>= CTIME AND D=2, OP), COLORYELLOW;PARTLINE(DD=10 AND DATE>= CTIME AND D=2, COP), COLORYELLOW;PARTLINE(DD=10 AND DATE>= CTIME AND D=2, XOP), COLORYELLOW;{PARTLINE(DD=10 AND DATE>= ATIME AND D=2, A1), COLORWHITE;PARTLINE(DD=10 AND DATE>= A_TIME AND D=1, A1), COLORWHITE;}DRAWTEXT(FILTER(DD=10 AND DATE>= C_TIME AND D=1,300),OP,'OP'),ALIGN2;DRAWTEXT(FILTER(DD=10 AND DATE>= C_TIME AND D=1,300),COP,'COP'),ALIGN2;DRAWTEXT(FILTER(DD=10 AND DATE>= C_TIME AND D=1,300),XOP,'XOP'),ALIGN2;DRAWTEXT(FILTER(DD=10 AND DATE>= CTIME AND D=2,300),OP,'OP'),ALIGN2;DRAWTEXT(FILTER(DD=10 AND DATE>= CTIME AND D=2,300),COP,'COP'),ALIGN2;DRAWTEXT(FILTER(DD=10 AND DATE>= CTIME AND D=2,300),XOP,'XOP'),ALIGN2;STICKLINE(FILTER(DD=10 AND DATE>= C_TIME AND D=1,300),L,XOP,0.01,0),COLORGREEN;STICKLINE(FILTER(DD=10 AND DATE>= CTIME AND D=2,300),L,XOP,0.01,0),COLORGREEN;DRAWTEXT(FILTER(DD=10 AND DATE>= A_TIME AND D=1,300),A1,'A'),ALIGN2;DRAWTEXT(FILTER(DD=10 AND DATE>= B_TIME AND

相关文档
最新文档