通达信个股资金副图公式
DRAWRECTREL(735,CONST(500-IF((大单)>0,(ABS(大单)*250/DAZHI),0)),705,500,RGB(148,0,0));
DRAWRECTREL(730,CONST(500-IF((大单)>0,(ABS(大单)*250/DAZHI),0)),710,500,RGB(168,0,0));
DRAWRECTREL(725,CONST(500-IF((大单)>0,(ABS(大单)*250/DAZHI),0)),715,500,RGB(188,0,0));
DRAWRECTREL(720,CONST(500-IF((大单)>0,(ABS(大单)*250/DAZHI),0)),720,500,RGB(218,0,0));
DRAWRECTREL(700,CONST(500-IF((大单)>0,(ABS(大单)*250/DAZHI),0)),740,CONST(500-IF((大单)>0,(ABS(大单)*250/DAZHI),0)),RGB(128,0,0));
DRAWRECTREL(740,500,700,CONST(500+IF((大单)<0,(ABS(大单)*250/DAZHI),0)),RGB(0,128,0));
DRAWRECTREL(735,500,705,CONST(500+IF((大单)<0,(ABS(大单)*250/DAZHI),0)),RGB(0,148,0));
DRAWRECTREL(730,500,710,CONST(500+IF((大单)<0,(ABS(大单)*250/DAZHI),0)),RGB(0,168,0));
DRAWRECTREL(725,500,715,CONST(500+IF((大单)<0,(ABS(大单)*250/DAZHI),0)),RGB(0,188,0));
DRAWRECTREL(720,500,720,CONST(500+IF((大单)<0,(ABS(大单)*250/DAZHI),0)),RGB(0,218,0));
DRAWRECTREL(700,CONST(500+IF((大单)<0,(ABS(大单)*250/DAZHI),0)),740,CONST(500+IF((大单)<0,(ABS(大单)*250/DAZHI),0)),RGB(0,128,0));
DRAWRECTREL(840,CONST(500-IF((中单)>0,(ABS(中单)*250/DAZHI),0)),800,500,RGB(128,0,0));
DRAWRECTREL(835,CONST(500-IF((中单)>0,(ABS(中单)*250/DAZHI),0)),805,500,RGB(148,0,0));
DRAWRECTREL(830,CONST(500-IF((中单)>0,(ABS(中单)*250/DAZHI),0)),810,500,RGB(168,0,0));
DRAWRECTREL(825,CONST(500-IF((中单)>0,(ABS(中单)*250/DAZHI),0)),815,500,RGB(188,0,0));
DRAWRECTREL(820,CONST(500-IF((中单)>0,(ABS(中单)*250/DAZHI),0)),820,500,RGB(218,0,0));
DRAWRECTREL(800,CONST(500-IF((中单)>0,(ABS(中单)*250/DAZHI),0)),840,CONST(500-IF((中单)>0,(ABS(中单)*250/DAZHI),0)),RGB(128,0,0));
DRAWRECTREL(840,500,800,CONST(500+IF((中单)<0,(ABS(中单)*250/DAZHI),0)),RGB(0,128,0));
DRAWRECTREL(800,CONST(500+IF((中单)<0,(ABS(中单)*250/DAZHI),0)),840,CONST(500+IF((中单)<0,(ABS(中单)*250/DAZHI),0)),RGB(0,128,0));
DRAWRECTREL(940,CONST(500-IF((小单)>0,(ABS(小单)*250/DAZHI),0)),900,500,RGB(128,0,0));
DRAWRECTREL(900,CONST(500-IF((小单)>0,(ABS(小单)*250/DAZHI),0)),940,CONST(500-IF((小单)>0,(ABS(小单)*250/DAZHI),0)),RGB(128,0,0));
DRAWRECTREL(940,500,900,CONST(500+IF((小单)<0,(ABS(小单)*250/DAZHI),0)),RGB(0,128,0));
DRAWRECTREL(900,CONST(500+IF((小单)<0,(ABS(小单)*250/DAZHI),0)),940,CONST(500+IF((小单)<0,(ABS(小单)*250/DAZHI),0)),RGB(0,128,0));
DRAWRECTREL(599.8,0,600.2,1000,RGB(0,0,10));
DRAWRECTREL(639.8,0,640.2,1000,RGB(0,0,10));
DRAWRECTREL(699.8,0,700.2,1000,RGB(0,0,10));
DRAWRECTREL(739.8,0,740.2,1000,RGB(0,0,10));
DRAWRECTREL(799.8,0,800.2,1000,RGB(0,0,10));
DRAWRECTREL(839.8,0,840.2,1000,RGB(0,0,10));
DRAWRECTREL(899.8,0,900.2,1000,RGB(0,0,10));
DRAWRECTREL(939.8,0,940.2,1000,RGB(0,0,10));
DRAWRECTREL(0,0.00,1000,0.20,RGB(255,0,0));
DRAWRECTREL(600,499.8,940,500.2,RGB(255,0,0));
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(超大单)>0,0.59,0.805,0,"超大单"),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(超大单)<0,0.59,0.805,0,"超大单"),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(超大单)=0,0.59,0.805,0,"超大单"),COLOR80FFFF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(大单)>0,0.70,0.805,0,"大单"),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(大单)<0,0.70,0.805,0,"大单"),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(大单)=0,0.70,0.805,0,"大单"),COLOR80FFFF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(中单)>0,0.80,0.805,0,"中单"),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(中单)<0,0.80,0.805,0,"中单"),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(中单)=0,0.80,0.805,0,"中单"),COLOR80FFFF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(小单)>0,0.90,0.805,0,"小单"),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(小单)<0,0.90,0.805,0,"小单"),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(小单)=0,0.90,0.805,0,"小单"),COLOR80FFFF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(超大单)>0,0.59,0.1,0,STRCAT(STRCAT(" ",CON2STR(超大单,1))," ")),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(超大单)=0,0.59,0.1,0,STRCAT(STRCAT(" ",CON2STR(超大单,1))," ")),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(超大单)<0,0.59,0.1,0,STRCAT(STRCAT(" ",CON2STR(超大单,1))," ")),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(大单)>0,0.69,0.1,0,STRCAT(STRCAT(" ",CON2STR(大单,1))," ")),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(大单)<0,0.69,0.1,0,STRCAT(STRCAT(" ",CON2STR(大单,1))," ")),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(大单)=0,0.69,0.1,0,STRCAT(STRCAT(" ",CON2STR(大单,1))," ")),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(中单)>0,0.79,0.1,0,STRCAT(STRCAT(" ",CON2STR(中单,1))," ")),COLOR0000FF;
- 上一篇公式:通达信自用的成交量指标公式
- 下一篇公式:通达信吃到嘴里甜到心里冰糖葫芦指标公式