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

请老师帮忙改成文华指标 [文华财经]

  • 咨询内容: LT:=100; LU:=0; LV:=38.2; 卖警:IF(LT,100,100),COLOR00FF00,POINTDOT; 持多:IF(LU,38.2,38.2),COLORWHITE,POINTDOT; 买警:IF(LU,0,0),COLORFFCC66,POINTDOT; LA:=REF(CLOSE,1); LB:=((SMA(MAX((CLOSE - LA),0),5,1) / SMA(ABS((CLOSE - LA)),5,1)) * 100); LC:=(HIGH - REF(HIGH,1)); LD:=(REF(LOW,1) - LOW); LE:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10); LF:=SUM(IF(((LC > 0) AND (LC > LD)),LC,0),10); LG:=SUM(IF(((LD > 0) AND (LD > LC)),LD,0),10); LH:=((LF * 100) / LE); LI:=((LG * 100) / LE); LJ:=MA(((ABS((LI - LH)) / (LI + LH)) * 100),5); AV:=(LB + LJ); LK:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10))); LL:=(LB - LK); LM:=(AV + LL); LO:=((((2 * CLOSE) + HIGH) + LOW) / 4); LP:=LLV(LOW,34); LQ:=HHV(HIGH,34); LR:=EMA((((LO - LP) / (LQ - LP)) * 100),13); LS:=EMA(((0.667 * REF(LR,1)) + (0.333 * LR)),2); 向导线:=LLV(LM,1); STICKLINE((向导线>225),95,90,6,1),COLORFFCC00; STICKLINE((向导线>235),100,95,6,1),COLORRED; STICKLINE(CROSS(235,向导线),100,90,6,1),COLOR00FF00; STICKLINE((LM<(0-1)),0,5,6,1),COLOR00FF00; STICKLINE((LM<(0-5)),5,10,6,1),COLORYELLOW; STICKLINE(CROSS(向导线,(0-3)),0,10,6,1),COLORRED; STICKLINE(((LR-LS)>0),LR,LS,10,1),COLORRED; STICKLINE(((LR-LS)<0),LR,LS,10,1),COLORFFCC66; VAR0:=(2*CLOSE+HIGH+LOW)/4; VAR1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100; VAR2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100; B:=EMA((VAR0-LLV(LOW,26))/(HHV(HIGH,34)-LLV(LOW,26))*100,16); 短线:SMA(SMA(VAR2,2,1)+3,2,1),COLORYELLOW;VAR11:=(2*CLOSE+HIGH+LOW+OPEN)/5;VAR21:=LLV(LOW,34);VAR31:=HHV(HIGH,34); SK:= EMA((VAR11-VAR21)/(VAR31-VAR21)*100,13); SD:= EMA(SK,3); VAR41:=IF(CROSS(SK,SD),40,22); 买进: VAR41;

     

     来源:程序化99

  • 文华技术人员:  参考:
    LT:=100;  LU:=0;  LV1:=38.2;  卖警:IF(LT,100,100),COLOR00FF00,POINTDOT;  持多:IF(LU,38.2,38.2),COLORWHITE,POINTDOT;  买警:IF(LU,0,0),COLORFFCC66,POINTDOT;  LA:=REF(CLOSE,1);  LB:=((SMA(MAX((CLOSE - LA),0),5,1) / SMA(ABS((CLOSE - LA)),5,1)) * 100);  LC:=(HIGH - REF(HIGH,1));  LD:=(REF(LOW,1) - LOW);  LE:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);  LF:=SUM(IF(((LC > 0) AND (LC > LD)),LC,0),10);  LG:=SUM(IF(((LD > 0) AND (LD > LC)),LD,0),10);  LH:=((LF * 100) / LE);  LI:=((LG * 100) / LE);  LJ:=MA(((ABS((LI - LH)) / (LI + LH)) * 100),5);  AV:=(LB + LJ);  LK:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));  LL:=(LB - LK);  LM:=(AV + LL);  LO:=((((2 * CLOSE) + HIGH) + LOW) / 4);  LP:=LLV(LOW,34);  LQ:=HHV(HIGH,34);  LR:=EMA((((LO - LP) / (LQ - LP)) * 100),13);  LS:=EMA(((0.667 * REF(LR,1)) + (0.333 * LR)),2);  向导线:=LLV(LM,1);  STICKLINE1((向导线>225),95,90,6,1),COLORFFCC00;  STICKLINE1((向导线>235),100,95,6,1),COLORRED;  STICKLINE1(CROSS(235,向导线),100,90,6,1),COLOR00FF00;  STICKLINE1((LM<(0-1)),0,5,6,1),COLOR00FF00;  STICKLINE1((LM<(0-5)),5,10,6,1),COLORYELLOW;  STICKLINE1(CROSS(向导线,(0-3)),0,10,6,1),COLORRED;  STICKLINE1(((LR-LS)>0),LR,LS,10,1),COLORRED;  STICKLINE1(((LR-LS)<0),LR,LS,10,1),COLORFFCC66;  VAR0:=(2*CLOSE+HIGH+LOW)/4;  VAR1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;  VAR2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;  B:=EMA((VAR0-LLV(LOW,26))/(HHV(HIGH,34)-LLV(LOW,26))*100,16);  短线:SMA(SMA(VAR2,2,1)+3,2,1),COLORYELLOW; VAR11:=(2*CLOSE+HIGH+LOW+OPEN)/5; VAR21:=LLV(LOW,34); VAR31:=HHV(HIGH,34);  SK1:= EMA((VAR11-VAR21)/(VAR31-VAR21)*100,13);  SD:= EMA(SK1,3);  VAR41:=IF(CROSS(SK1,SD),40,22);  买进: VAR41;

     

     来源: WWW.CXH99.COM

  • 文华客服:  改成博易的颜色和大小


    文件名:qq图片20180615112245.png

     

  • 网友回复: 不同软件对函数处理机制不同,改写之后略有差别是正常的
    我们看了一下您的截图,跟原指标形态一致,只是个别颜色显示不同,我们给您修改了一下
    如果还是要继续修改颜色,直接在下图位置修改即可:
    LT:=100; LU:=0; LV1:=38.2; 卖警:IF(LT,100,100),COLOR00FF00,POINTDOT; 持多:IF(LU,38.2,38.2),COLORWHITE,POINTDOT; 买警:IF(LU,0,0),COLORGREEN,POINTDOT; LA:=REF(CLOSE,1); LB:=((SMA(MAX((CLOSE - LA),0),5,1) / SMA(ABS((CLOSE - LA)),5,1)) * 100); LC:=(HIGH - REF(HIGH,1)); LD:=(REF(LOW,1) - LOW); LE:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10); LF:=SUM(IF(((LC > 0) AND (LC > LD)),LC,0),10); LG:=SUM(IF(((LD > 0) AND (LD > LC)),LD,0),10); LH:=((LF * 100) / LE); LI:=((LG * 100) / LE); LJ:=MA(((ABS((LI - LH)) / (LI + LH)) * 100),5); AV:=(LB + LJ); LK:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10))); LL:=(LB - LK); LM:=(AV + LL); LO:=((((2 * CLOSE) + HIGH) + LOW) / 4); LP:=LLV(LOW,34); LQ:=HHV(HIGH,34); LR:=EMA((((LO - LP) / (LQ - LP)) * 100),13); LS:=EMA(((0.667 * REF(LR,1)) + (0.333 * LR)),2); 向导线:=LLV(LM,1); STICKLINE1((向导线>225),95,90,6,1),COLOR00FF00; STICKLINE1((向导线>235),100,95,6,1),COLORRED; STICKLINE1(CROSS(235,向导线),100,90,6,1),COLOR00FF00; STICKLINE1((LM<(0-1)),0,5,6,1),COLOR00FF00; STICKLINE1((LM<(0-5)),5,10,6,1),COLORYELLOW; STICKLINE1(CROSS(向导线,(0-3)),0,10,6,1),COLORRED; STICKLINE1(((LR-LS)>0),LR,LS,10,1),COLORRED; STICKLINE1(((LR-LS)<0),LR,LS,10,1),COLORLIGHTBLUE; VAR0:=(2*CLOSE+HIGH+LOW)/4; VAR1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100; VAR2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100; B:=EMA((VAR0-LLV(LOW,26))/(HHV(HIGH,34)-LLV(LOW,26))*100,16); 短线:SMA(SMA(VAR2,2,1)+3,2,1),COLORYELLOW;VAR11:=(2*CLOSE+HIGH+LOW+OPEN)/5;VAR21:=LLV(LOW,34);VAR31:=HHV(HIGH,34); SK1:= EMA((VAR11-VAR21)/(VAR31-VAR21)*100,13); SD:= EMA(SK1,3); VAR41:=IF(CROSS(SK1,SD),40,22); 买进: VAR41;



    文件名:123.png

 

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

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


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

相关文章

    没有相关内容