壓力支撐
DRAWTEXTABS(10,0,BKNAME);
DRAWTEXTABS(10,15,'流通盤(pán):'+CAPITAL/100+'萬(wàn)股,利潤增長(cháng):'+FINANCE2(10)+'%。每股收益:'+FINANCE2(3)+'元。' );
DRAWTEXTABS(10,30,'' ),COLORF00FF0;
gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100);
明日阻力:=l+(gj-l)+(c-l);
明日支撐:=l+(c-gj);
今日阻力:=REF(明日阻力 , 1);
今日支撐:=REF(明日支撐 , 1);
STICKLINE(DISPSTATUS=2 and c>=今日阻力,今日阻力,今日阻力,20,0),Color0000FF;
STICKLINE(DISPSTATUS=2 and c<今日阻力,今日阻力,今日阻力,20,0),Color00FF00;
STICKLINE(DISPSTATUS=2 and c>=今日支撐,今日支撐,今日支撐,20,0),ColorFF00FF;
STICKLINE(DISPSTATUS=2 and c<今日支撐,今日支撐,今日支撐,20,0),ColorFF9900;
DRAWTEXTREL(10,115,'今日支撐:'+NUMTOSTRN(今日支撐 ,2 )),Colorred;
DRAWTEXTREL(10,165,'今日阻力:'+NUMTOSTRN(今日阻力 ,2 )),ColorGREEN;
DRAWTEXTREL(180,115,'明日支撐:'+NUMTOSTRN(明日支撐 ,2 )),Colorred;
DRAWTEXTREL(180,165,'明日阻力:'+NUMTOSTRN(明日阻力 ,2 )),ColorGREEN;
(南方財富網(wǎng)SOUTHMONEY.COM)