富力主筹散筹 通达信副图公式 源码 贴图
富力主筹散筹 通达信副图公式 源码 贴图
{富力主筹散筹}
{副图}
VAR1:=EMA(WINNER(CLOSE)*70,3);
VAR2:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
VAR3:=VAR2/(VAR1+VAR2)*100;
VAR4:=VAR1/(VAR1+VAR2)*100;
VAR5:=MA(VAR1+VAR2,13);
VAR6:=BARSLAST(VAR3<90 AND REF(VAR3,1)>90);
VAR7:=EMA(VAR3,89);
VAR8:=EMA(VAR4,89);
VAR9:=INTPART(VAR4-VAR8);
VAR10:=EMA(VAR3,8);
VAR11:=IF(VAR4-REF(VAR4,1)>VAR3-REF(VAR3,1),1,0);
STICKLINE(VAR7>REF(VAR7,1),VAR3,VAR7,0.1,0),COLORFFBB00;
STICKLINE(VAR8>REF(VAR8,1),VAR4,VAR8,0.1,0),COLORMAGENTA;
散筹:INTPART(VAR3),NODRAW,COLORFFBB00;
主筹:INTPART(VAR4),NODRAW,COLORMAGENTA;
VAR12:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR13:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
VAR14:=SMA(VAR12,3,1);
VAR15:=SMA(VAR14,3,1);
VAR16:=SMA(VAR13,8,1);
中期波段:SMA(VAR16,3,1),NODRAW;
VAR17:=SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1);
VAR18:=SMA(VAR17,3,1);
VAR19:=3*VAR17-2*VAR18;
VAR20:=EMA(VAR19,3);
VAR21:=(VAR20-REF(VAR20,1))/REF(VAR20,1)*100;
准备资金:IF(VAR20<13,1,0),NODRAW;
开始建仓:IF(VAR20<13 AND VAR21>13,1,0),COLORYELLOW;
VAR22:=(CLOSE*2+HIGH+LOW)/4*10;
VAR23:=EMA(VAR22,13);
VAR24:=EMA(VAR22,34);
VAR25:=VAR23-VAR24;
VAR26:=EMA(VAR25,5);
VAR27:=2*(VAR25-VAR26)*5.5;
主力进场:IF(VAR27>=0 AND VAR20<13,1,0),COLORCYAN;
VAR28:=IF(REF(中期波段,1)<REF(中期波段,2) AND 中期波段>REF(中期波段,1),1,0);
先机共振抄底:IF(开始建仓=1 AND 主力进场=1 AND 中期波段>REF(中期波段,1),1,0),COLORRED;
短线波段:IF(VAR28=1 AND VAR14>=VAR15 OR (REF(VAR14,1)<REF(VAR15,1) AND VAR14>=VAR15 AND 中期波段>REF(中期波段,1)),1,0),COLOR0080EF,LINETHICK0;
STICKLINE(VAR14>=VAR15,VAR15,REF(VAR15,1),2,0),COLOR0039AA;
STICKLINE(VAR14>=VAR15,VAR15,REF(VAR15,1),1.3,0),COLOR0069DD;
STICKLINE(VAR14>=VAR15,VAR15,REF(VAR15,1),0.7,0),COLOR0099DD;
STICKLINE(VAR14>=VAR15,VAR15,REF(VAR15,1),0.1,0),COLOR009AFF;
STICKLINE(VAR14<=VAR15,VAR15,REF(VAR15,1),1,0),COLOR009900;
STICKLINE(VAR14<=VAR15,VAR15,REF(VAR15,1),1.3,0),COLOR00AA00;
STICKLINE(VAR14<=VAR15,VAR15,REF(VAR15,1),0.7,0),COLOR00DD00;
STICKLINE(VAR14<=VAR15,VAR15,REF(VAR15,1),0.1,0),COLORGREEN;
DRAWICON(先机共振抄底=1,REF(VAR15,1),1);
STICKLINE(准备资金=1,3,(-2),2,0),COLORCYAN;
STICKLINE(开始建仓=1,10,(-2),2,0),COLORYELLOW;
STICKLINE(主力进场=1 AND 开始建仓=1,6,(-2),3,0),COLORRED;
50,COLOR434343;
VAR29:=KDJ.K(9,3,3);
VAR30:=KDJ.D(9,3,3);
VAR31:=MACD.DIF(12,26,9);
VAR32:=MACD.DEA(12,26,9);
VAR33:=RSI.RSI1(6,12,24);
VAR34:=RSI.RSI2(6,12,24);
VAR35:=BARSLAST(REF(CROSS(VAR31,VAR32),1));
VAR36:=REF(CLOSE,VAR35+1)>CLOSE AND REF(VAR31,VAR35+1)<VAR31 AND CROSS(VAR31,VAR32);
VAR37:=BARSLAST(REF(CROSS(VAR29,VAR30),1));
VAR38:=REF(CLOSE,VAR37+1)>CLOSE AND REF(VAR29,VAR37+1)<VAR29 AND CROSS(VAR29,VAR30);
VAR39:=BARSLAST(REF(CROSS(VAR33,VAR34),1));
VAR40:=REF(CLOSE,VAR39+1)>CLOSE AND REF(VAR33,VAR39+1)<VAR33 AND CROSS(VAR33,VAR34);
VAR41:=BARSLAST(REF(CROSS(VAR32,VAR31),1));
VAR42:=REF(CLOSE,VAR41+1)<CLOSE AND REF(VAR31,VAR41+1)>VAR31 AND CROSS(VAR32,VAR31);
VAR43:=BARSLAST(REF(CROSS(VAR30,VAR29),1));
VAR44:=REF(CLOSE,VAR43+1)<CLOSE AND REF(VAR29,VAR43+1)>VAR29 AND CROSS(VAR30,VAR29);
VAR45:=BARSLAST(REF(CROSS(VAR34,VAR33),1));
VAR46:=REF(CLOSE,VAR45+1)<CLOSE AND REF(VAR33,VAR45+1)>VAR33 AND CROSS(VAR34,VAR33);
VAR47:=FILTER(VAR36>0,1);
VAR48:=FILTER(VAR38>0,1);
VAR49:=FILTER(VAR40>0,1);
VAR50:=FILTER(VAR42>0,1);
VAR51:=FILTER(VAR44>0,1);
VAR52:=FILTER(VAR46>0,1);
STICKLINE(VAR49,0,20,1,0),COLORFFCC66;
DRAWTEXT(VAR49,45,2),COLORFFCC66;
STICKLINE(VAR48,0,20,1,0),COLORWHITE;
DRAWTEXT(VAR48,35,3),COLORWHITE;
STICKLINE(VAR47,0,20,1,0),COLORYELLOW;
DRAWTEXT(VAR47,25,4),COLORYELLOW;
STICKLINE(VAR52,100,80,1,0),COLORDD9900;
DRAWTEXT(VAR52,80,5),COLORDD9900;
STICKLINE(VAR51,100,80,1,0),COLORDDDDDD;
DRAWTEXT(VAR51,70,6),COLORDDDDDD;
STICKLINE(VAR50,100,80,1,0),COLOR0066DD;
DRAWTEXT(VAR50,60,7),COLOR0066DD;
VAR53:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*50;
K1:SMA(VAR53,13,1),NODRAW;
D11:SMA(VAR29,3,1),NODRAW;
J:3*VAR29-2*VAR30;
VARJ:J,COLORWHITE,LINETHICK2;
上升J:IF(VARJ>REF(VARJ,1),VARJ,DRAWNULL),COLOR8E236B,LINETHICK2;
走平J:IF(VARJ=REF(VARJ,1),VARJ,DRAWNULL),COLORWHITE,LINETHICK2;
下降J:IF(VARJ<REF(VARJ,1),VARJ,DRAWNULL),COLORBLUE,LINETHICK2;
底线:0,COLORD19274;
顶线:100,COLORD19274;
- 上一篇公式:强势股反杀 通达信副图公式 源码 贴图
- 下一篇公式:缠论之精华分型顶底 通达信主图/副图/选股指标 源码 贴图 无未来