您现在的位置:程序化交易>> 期货公式>> 文华财经>> 文华财经知识>>正文内容

请教老师:编译一下到文华6上 [文华财经]

  • 咨询内容:  INPUT:M(3,1,100,1);
    DRAWRECTREL(0,0,1000,1000 , RGB(1,1,1));
    XXOPEN:=(REF(OPEN,M)+REF(CLOSE,M))/2;XXCLOSE:=(HIGH+LOW+CLOSE+OPEN)/4; XXHIGH:=MAX(XXOPEN,XXCLOSE,HHV(HIGH,M)); XXLOW:=MIN(XXOPEN,XXCLOSE,LLV(LOW,M)); 
    STICKLINE(XXCLOSE>XXOPEN,XXCLOSE ,XXOPEN ,8,1 ),COLORRED; STICKLINE(XXCLOSE<=XXOPEN,XXCLOSE ,XXOPEN ,8,0 ),COLORFFFF66; STICKLINE(XXCLOSE>XXOPEN,XXHIGH ,XXCLOSE ,0.5,0 ),COLORRED; STICKLINE(XXCLOSE>XXOPEN,XXOPEN ,XXLOW ,0.5,0 ),COLORRED; STICKLINE(XXCLOSE<=XXOPEN,XXOPEN ,XXHIGH ,0.5,0 ),COLORFFFF66; STICKLINE(XXCLOSE<=XXOPEN,XXCLOSE ,XXLOW ,0.5,0 ),COLORFFFF66; 

     

     来源:程序化99

  • 文华技术人员: 参考:
    M:=3;
    //DRAWRECTREL(0,0,1000,1000 , RGB(1,1,1));
    XXOPEN:=(REF(OPEN,M)+REF(CLOSE,M))/2; XXCLOSE:=(HIGH+LOW+CLOSE+OPEN)/4;  XXHIGH:=MAX1(XXOPEN,XXCLOSE,HHV(HIGH,M));  XXLOW:=MIN1(XXOPEN,XXCLOSE,LLV(LOW,M)); 
    STICKLINE(XXCLOSE>XXOPEN,XXCLOSE ,XXOPEN ,8,1 ),COLORRED;  STICKLINE(XXCLOSE<=XXOPEN,XXCLOSE ,XXOPEN ,8,0 ),COLORFFFF66;  STICKLINE(XXCLOSE>XXOPEN,XXHIGH ,XXCLOSE ,0.5,0 ),COLORRED;  STICKLINE(XXCLOSE>XXOPEN,XXOPEN ,XXLOW ,0.5,0 ),COLORRED;  STICKLINE(XXCLOSE<=XXOPEN,XXOPEN ,XXHIGH ,0.5,0 ),COLORFFFF66;  STICKLINE(XXCLOSE<=XXOPEN,XXCLOSE ,XXLOW ,0.5,0 ),COLORFFFF66;

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 511411198  点击这里给我发消息或微信:cxhjy888 进行 有偿 编写!不贵!点击查看价格!


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容