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

更改老师老师 [文华财经]

  • 咨询内容:  AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),NODRAW,COLORRED;卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),NODRAW,COLORCYAN;进出量:=买量+卖量,COLOR00FFFF;五日内净流入:=SUM(进出量,5),LINETHICK1,COLORLIGHTBLUE;N:=9;M:=14;N1:=6;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;//收盘价与N周期最低值做差,N周期最高值与N周期最低值做差,两差之间做比值。K:=SMA(RSV,3,1);//RSV的移动平均值D:=SMA(K,3,1);//K的移动平均值J:=3*K-2*D;TYP := (HIGH + LOW + CLOSE)/3;CC1:=(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),COLORFF00FF;C1:=SMA(CC1,3,1);C2:=SMA(C1,3,1);C3:=3*C1-2*C2;CB1:=EMA(C3,5);LC := REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;RSI:=(RSI1-50)*5;R1A:=SMA(RSI,3,1);D1:=SMA(R1A,3,1);J1:=3*R1A-2*D1;RR1:=EMA(J1,5);RR2:=REF(RR1,1);RR:=RR1>RR2;卖出:=REF(RR,1)=1 AND NOT(RR) AND CB1>100;R1:=(CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*200;R2:=EMA((CLOSE-(LLV(LOW,5)))/((HHV(HIGH,5))-(LLV(LOW,5)))*100,4)*2;R3:=EMA(0.618*REF(R2,1)+0.382*R2,2);R4:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);R5:=POW(MA(LOW,5),2)+MA(LOW,5);R6:=POW(MA(HIGH,5),2)+MA(HIGH,5);R7:=(R4-LLV(R5,64))/(HHV(R6,64)-LLV(R5,64))*150+65-10;R8:=SMA((SMA(R7,3,1)*1.5-100),3,1);R9:=3*(SMA(R7,3,1)*1.5-100)-2*R8;R10:=(HIGH+LOW+CLOSE*2)/4;R11:=(R10-(EMA(R10,13)))*100/(STD(R10,13));R12:=EMA((EMA(R11,5)),13)+200-100;R13:=(SMA(R1,3,1))+R2+(SMA(R7,3,1)*1.5-100)+R12;R14:=(SMA((SMA(R1,3,1)),3,1))+R3+R8+(EMA(R12,10));R15:=(3*(SMA(R1,3,1))-2*(SMA((SMA(R1,3,1)),3,1)))+(3*R12-2*(EMA(R12,10)))+R9+(3*R12-2*(EMA(R12,10)));R16:=(HIGH+LOW+CLOSE)/3;R17:=(R16-MA(R16,34))/(0.015*AVEDEV(R16,34));R18:=(HIGH+LOW+CLOSE+R16)/4;R19:=(R18-(EMA(R18,24)))/(STD(R18,24))*100;R20:=(R16-MA(R16,24))/(0.015*AVEDEV(R16,24));R21:=(((EMA(R19,5))+R20+R17)/3+165)/4;R22:=(R13+R14+R15*30)/32/5-15;买卖: EMA(((R21+R22)/2/1.1),1);阻力:MA(买卖,3),COLORWHITE,LINETHICK2;IF(买卖< 阻力,买卖,NULL),COLORGREEN,LINETHICK2;IF(买卖>=阻力,买卖,NULL),COLORRED,LINETHICK2;神奇先知:(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*250, COLORYELLOW,LINETHICK2;金牛狂飙:IF(CROSS(神奇先知,0) AND CROSS(买卖,阻力) AND 阻力>0 AND 阻力>REF(阻力,1) AND  五日内净流入>0 AND  五日内净流入>REF( 五日内净流入,1),10,0),COLORRED; DRAWICON(CROSS(买卖,阻力) AND 神奇先知>REF(神奇先知,1),阻力,1);DRAWICON(CROSS(阻力,买卖),阻力-3.66,2);DRAWICON(卖出,买卖*1.13,6);DRAWICON(CROSS(买卖,100),买卖*1.10,9);DRAWICON(CROSS(买卖,120),买卖*1.06,35);DRAWICON(CROSS(神奇先知,0) AND CROSS(买卖,阻力) AND 阻力>0 AND 阻力>REF(阻力,1) AND  五日内净流入>0 AND  五日内净流入>REF( 五日内净流入,1) ,28,11);STICKLINE1(CROSS(神奇先知,0) AND CROSS(买卖,阻力) AND 阻力>0 AND 阻力>REF(阻力,1) AND  五日内净流入>0 AND  五日内净流入>REF( 五日内净流入,1),22.8,0,1,0),COLORRED;DRAWTEXT(CROSS(神奇先知,0) AND CROSS(买卖,阻力) AND 阻力>0 AND 阻力>REF(阻力,1) AND  五日内净流入>0 AND  五日内净流入>REF( 五日内净流入,1),29,'━金牛狂飙';VAR2W:=REF(LOW,1);VAR3W:=SMA(ABS(LOW-VAR2W),3,1)/SMA(MAX(LOW-VAR2W,0),3,1)*100;VAR4W:=EMA(IF(CLOSE*1.3,VAR3W*10,VAR3W/10),3);VAR5W:=LLV(LOW,30);VAR6W:=HHV(VAR4W,30);VAR7W:=IF(MA(CLOSE,58),1,0);VAR8W:=EMA(IF(LOW<=VAR5W,(VAR4W+VAR6W*2)/2,0),3)/618*VAR7W;VAR9W:=IF(VAR8W>100,100,VAR8W);STICKLINE1(VAR9W>-150,0,VAR9W,2,0), COLORMAGENTA;底部吸筹指标:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;STICKLINE1(CROSS(底部吸筹指标,-24),88,0,1,0);DRAWTEXT(CROSS(底部吸筹指标,-24),89,'击查看原图建仓';可能放量拉升:=IF(CROSS(底部吸筹指标,-24),1,0);STICKLINE1(REF(J,1)<0 AND J>0,38,0,1,0);DRAWTEXT(REF(J,1)<0 AND J>0,39,'短线获利',COLORYELLOW;强弱分界线:50,COLORLIGHTBLUE,DOT;风险顶:100,COLORLIGHTGREEN;老师把这个指标有一根红线和黄线留下其余的隐藏或者删除

     

     来源:程序化99

  • 文华技术人员:  参考:
    AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),NODRAW,COLORRED; 卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),NODRAW,COLORCYAN; 进出量:=买量+卖量,COLOR00FFFF; 五日内净流入:=SUM(进出量,5),LINETHICK1,COLORLIGHTBLUE; N:=9; M:=14; N1:=6; RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;//收盘价与N周期最低值做差,N周期最高值与N周期最低值做差,两差之间做比值。 K:=SMA(RSV,3,1);//RSV的移动平均值 D:=SMA(K,3,1);//K的移动平均值 J:=3*K-2*D; TYP := (HIGH + LOW + CLOSE)/3; CC1:=(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),COLORFF00FF; C1:=SMA(CC1,3,1); C2:=SMA(C1,3,1); C3:=3*C1-2*C2; CB1:=EMA(C3,5); LC := REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100; RSI:=(RSI1-50)*5; R1A:=SMA(RSI,3,1); D1:=SMA(R1A,3,1); J1:=3*R1A-2*D1; RR1:=EMA(J1,5); RR2:=REF(RR1,1); RR:=RR1>RR2; 卖出:=REF(RR,1)=1 AND NOT(RR) AND CB1>100; R1:=(CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*200; R2:=EMA((CLOSE-(LLV(LOW,5)))/((HHV(HIGH,5))-(LLV(LOW,5)))*100,4)*2; R3:=EMA(0.618*REF(R2,1)+0.382*R2,2); R4:=POW(MA(CLOSE,5),2)+MA(CLOSE,5); R5:=POW(MA(LOW,5),2)+MA(LOW,5); R6:=POW(MA(HIGH,5),2)+MA(HIGH,5); R7:=(R4-LLV(R5,64))/(HHV(R6,64)-LLV(R5,64))*150+65-10; R8:=SMA((SMA(R7,3,1)*1.5-100),3,1); R9:=3*(SMA(R7,3,1)*1.5-100)-2*R8; R10:=(HIGH+LOW+CLOSE*2)/4; R11:=(R10-(EMA(R10,13)))*100/(STD(R10,13)); R12:=EMA((EMA(R11,5)),13)+200-100; R13:=(SMA(R1,3,1))+R2+(SMA(R7,3,1)*1.5-100)+R12; R14:=(SMA((SMA(R1,3,1)),3,1))+R3+R8+(EMA(R12,10)); R15:=(3*(SMA(R1,3,1))-2*(SMA((SMA(R1,3,1)),3,1)))+(3*R12-2*(EMA(R12,10)))+ R9+(3*R12-2*(EMA(R12,10))); R16:=(HIGH+LOW+CLOSE)/3; R17:=(R16-MA(R16,34))/(0.015*AVEDEV(R16,34)); R18:=(HIGH+LOW+CLOSE+R16)/4; R19:=(R18-(EMA(R18,24)))/(STD(R18,24))*100; R20:=(R16-MA(R16,24))/(0.015*AVEDEV(R16,24)); R21:=(((EMA(R19,5))+R20+R17)/3+165)/4; R22:=(R13+R14+R15*30)/32/5-15; 买卖:=EMA(((R21+R22)/2/1.1),1); 阻力:=MA(买卖,3),COLORWHITE,LINETHICK2; AA1:=IF(买卖< 阻力,买卖,NULL),COLORGREEN,LINETHICK2; BB1:=IF(买卖>=阻力,买卖,NULL),COLORRED,LINETHICK2; 神奇先知:(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*250, COLORYELLOW,LINETHICK2; 金牛狂飙:IF(CROSS(神奇先知,0) AND CROSS(买卖,阻力) AND 阻力>0 AND 阻力>REF(阻力,1) AND  五日内净流入>0 AND  五日内净流入>REF( 五日内净流入,1),10,0),COLORRED;  DRAWICON(CROSS(买卖,阻力) AND 神奇先知>REF(神奇先知,1),阻力,1); DRAWICON(CROSS(阻力,买卖),阻力-3.66,2); DRAWICON(卖出,买卖*1.13,6); DRAWICON(CROSS(买卖,100),买卖*1.10,9); DRAWICON(CROSS(买卖,120),买卖*1.06,35); DRAWICON(CROSS(神奇先知,0) AND CROSS(买卖,阻力) AND 阻力>0 AND 阻力>REF(阻力,1) AND  五日内净流入>0 AND  五日内净流入>REF( 五日内净流入,1) ,28,11); //STICKLINE1(CROSS(神奇先知,0) AND CROSS(买卖,阻力) AND 阻力>0 AND 阻力>REF(阻力,1) AND  五日内净流入>0 AND  五日内净流入>REF( 五日内净流入,1),22.8,0,1,0),COLORRED; DRAWTEXT(CROSS(神奇先知,0) AND CROSS(买卖,阻力) AND 阻力>0 AND 阻力>REF(阻力,1) AND  五日内净流入>0 AND  五日内净流入>REF( 五日内净流入,1),29,'━金牛狂飙'; VAR2W:=REF(LOW,1); VAR3W:=SMA(ABS(LOW-VAR2W),3,1)/SMA(MAX(LOW-VAR2W,0),3,1)*100; VAR4W:=EMA(IF(CLOSE*1.3,VAR3W*10,VAR3W/10),3); VAR5W:=LLV(LOW,30); VAR6W:=HHV(VAR4W,30); VAR7W:=IF(MA(CLOSE,58),1,0); VAR8W:=EMA(IF(LOW<=VAR5W,(VAR4W+VAR6W*2)/2,0),3)/618*VAR7W; VAR9W:=IF(VAR8W>100,100,VAR8W); //STICKLINE1(VAR9W>-150,0,VAR9W,2,0), COLORMAGENTA; 底部吸筹指标:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100; //STICKLINE1(CROSS(底部吸筹指标,-24),88,0,1,0); DRAWTEXT(CROSS(底部吸筹指标,-24),89,'击查看原图建仓'; 可能放量拉升:=IF(CROSS(底部吸筹指标,-24),1,0); //STICKLINE1(REF(J,1)<0 AND J>0,38,0,1,0); DRAWTEXT(REF(J,1)<0 AND J>0,39,'短线获利',COLORYELLOW; 强弱分界线:=50,COLORLIGHTBLUE,DOT; 风险顶:=100,COLORLIGHTGREEN; //老师把这个指标有一根红线和黄线留下其余的隐藏或者删除

 

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

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


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

相关文章

    没有相关内容