黄油:EMA(CLOSE,50),LINETHICK1,colorFFFF;
炭火:EMA(CLOSE,21),colorFF;
牛熊线:MA(CLOSE,156),LINETHICK2,colorFFFFFF;
生命线:MA(CLOSE,453),LINETHICK2,colorFF;
PARTLINE(炭火 REF(炭火,1),炭火),LINETHICK1,colorFF;
PARTLINE(炭火 REF(炭火,1),炭火),LINETHICK1,colorFF00;
AA10:=炭火;
BB10:=(ATAN(AA10-REF(AA10,1)))*180/3.1416;
STICKLINE(BB10 1 AND AA10 REF(AA10,1),AA10,REF(AA10,1),8,0),color80FF;
STICKLINE(BB10 1 AND AA10 REF(AA10,1),AA10,REF(AA10,1),4,1),color808080;
STICKLINE(CLOSE =OPEN,OPEN,CLOSE,6,1),colorFF;
STICKLINE(OPEN CLOSE,CLOSE,OPEN,6,0),colorFFFF00;
STICKLINE(CLOSE =OPEN,CLOSE,HIGH,0.5,0),colorFF;
STICKLINE(CLOSE =OPEN,OPEN,LOW,0.5,0),colorFF;
STICKLINE(OPEN CLOSE,CLOSE,LOW,0.5,0),colorFFFF00;
STICKLINE(OPEN CLOSE,OPEN,HIGH,0.5,0),colorFFFF00;
AA:=CLOSE/REF(CLOSE,1) =1.09;
STICKLINE(AA,OPEN,CLOSE,4,0),colorFFFF;
STICKLINE(AA,LOW,HIGH,0.5,0),colorFFFF;
A:=CROSS(铁板,炭火);
STICKLINE(A,OPEN,CLOSE,6,0),LINETHICK1,colorFFFFFF;
DRAWTEXT(CROSS(铁板,炭火),LOW*0.9,'上炭'),colorFFFF;
P3:=SYSPARAM(1);
E:=(HIGH+LOW+OPEN+2*CLOSE)/5;
明日阻力:=2*E-LOW;
明日支撑:=2*E-HIGH;
明日突破:=E+HIGH-LOW;
明日反转:=E-(HIGH-LOW);
今日阻力:=REF(明日阻力,1);
今日支撑:=REF(明日支撑,1);
DRAWTEXTEX(CLOSE,1,20,500,'-----------------'),colorFFFFFF;
DRAWTEXTEX(CLOSE,1,20,580,'-----------------'),colorFFFFFF;
DRAWTEXTEX(CLOSE,1,20,660,'-----------------'),colorFFFFFF;
DRAWTEXTEX(CLOSE,1,20,740,'-----------------'),colorFFFFFF;
DRAWTEXTEX(CLOSE,1,20,820,'-----------------'),colorFFFFFF;
DRAWTEXTEX(CLOSE,1,20,900,'-----------------'),colorFFFFFF;
DRAWTEXTEX(CLOSE,1,20,990,'-----------------'),colorFFFFFF;
DRAWTEXTEX(CLOSE,1,20,540,'■今日阻力=:'+NUMTOSTR(今日阻力[P3],2)+''),colorFF;
DRAWTEXTEX(CLOSE,1,20,620,'■今日支撑=:'+NUMTOSTR(今日支撑[P3],2)+''),colorFF0000;
DRAWTEXTEX(CLOSE,1,20,700,'●明日突破=:'+NUMTOSTR(明日突破[P3],2)),colorFF00FF;
DRAWTEXTEX(CLOSE,1,20,780,'●明日阻力=:'+NUMTOSTR(明日阻力[P3],2)),colorFFFF00;
DRAWTEXTEX(CLOSE,1,20,860,'●明日支撑=:'+NUMTOSTR(明日支撑[P3],2)),colorFF;
DRAWTEXTEX(CLOSE,1,20,940,'●明日反转=:'+NUMTOSTR(明日反转[P3],2)),colorFF00;