买线:EMA(C,5),color000999; 卖线:EMA(SLOPE(C,21)*20+C,42),POINTDOT,colorblue,linethick3;
BUY1:=CROSS(买线,卖线);
SEL1:=CROSS(卖线,买线);
//www.fxjgsw.com
DRAWTEXT(buy1,LOW*0.95,'B '),colorred,linethick6;
DRAWTEXT(sel1,HIGH*1.05,'S'),colorgreen,linethick6;
STICKLINE(买线>=卖线,LOW,HIGH,0.1,1),colorred;
STICKLINE(买线>=卖线,CLOSE,OPEN,8,1),colorred;
STICKLINE(买线>=卖线,CLOSE,OPEN,10,1),colorbrown;
STICKLINE(买线<卖线,CLOSE,OPEN,10,0),colorffff00;
STICKLINE(买线<卖线,CLOSE,OPEN,8,0),color00ff00;
STICKLINE(买线<卖线,LOW,HIGH,0.1,1),color00ff00;
STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,6,0),colorblue;
限制:=EMA((((H+C)/2+L+(C+L)/2)/3-EMA(LLV(((H+C)/2+L+(C+L)/2)/3,89),2))/(EMA(HHV (((H+C)/2+L+(C+L)/2)/3,21),2)-EMA(LLV(((H+C)/2+L+(C+L)/2)/3,89),2)),8)*100;
平衡:=SMA(EMA(SMA((C+L)/2,3,1),3),5,1);
DRAWTEXT(FILTER(平衡>REF(平衡,1)AND HHV(MA((H+C)/2,13),10)<REF(HHV(MA((H+C)/2,13),10),1)AND((C+L)/2)>REF((C+L)/2,1),5)AND 限制<88,L*0.98,' ------'),colorcyan;
均价:=(3*CLOSE+HIGH+LOW+OPEN)/6;
重心:(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382,COLORDDDDDD,linethick0,PRECIS2;
智能辅助线:=(20*均价+19*REF(均价,1)+18*REF(均价,2)+17*REF(均价,3)+16*REF(均价,4)+15*REF(均价,5)+14*REF(均价,6)+13*REF(均价,7)+12*REF(均价,8)+11*REF(均价,9)+10*REF(均价,10)
+9*REF(均价,11)+8*REF(均价,12)+7*REF(均价,13)+6*REF(均价,14)+5*REF(均价,15)+4*REF(均价,16)+3*REF(均价,17)+2*REF(均价,18)+REF(均价,20))/210;
工作线:=EMA(((SLOPE(均价,18)*27)+均价),45);
操盘线:(智能辅助线+工作线)/2,Color00E800,DOTLINE,PRECIS2,layer1;
PARTLINE(操盘线,操盘线>=REF(操盘线,1) AND 重心>=操盘线,RGB(255,0,0),操盘线>=REF(操盘线,1) AND 重心<操盘线,RGB(0,228,0)),LINETHICK2,LAYER0;
龙线:WMA(均价,8),colorred,LINETHICK0;
渊线:(LLV(龙线,2)+LLV(龙线,4)+LLV(龙线,6))/3,COLORE99900,LINETHICK0;
PARTLINE(龙线,龙线>渊线 AND 龙线>REF(龙线,1),RGB(229,229,0),1,RGB(0,69,219)),LINETHICK1,layer0;
PARTLINE(渊线,龙线=渊线,RGB(0,89,229),1,RGB(169,169,0)),LINETHICK1,layer0;
FILLRGN(龙线,渊线,龙线>渊线 AND 龙线>=REF(龙线,1),RGB(129,129,0),龙线>渊线 AND 龙线<REF(龙线,1),RGB(0,99,0)),layer2;
TOWERC:=FORCAST(EMA((3*CLOSE+2*OPEN+HIGH+LOW)/7,3),6);
PARTLINE(龙线,TOWERC>=REF(TOWERC,1),RGB(255,255,0),TOWERC<REF(TOWERC,1),RGB(0,89,219)),POINTDOT,linethick3,layer0;
|
