操盘铁律主图公式 B买 S卖
STICKLINE((CLOSE<年) AND (CLOSE>OPEN),CLOSE,OPEN,4.5,0),CoLorAAAA00;
STICKLINE((CLOSE<年) AND (CLOSE>OPEN),CLOSE,OPEN,3.5,0),CoLorCCCC00;
STICKLINE((CLOSE<年) AND (CLOSE>OPEN),CLOSE,OPEN,3,0),CoLorEEEE00;
STICKLINE((CLOSE<年) AND (CLOSE>OPEN),CLOSE,OPEN,1,0),CoLorFFFF00;
STICKLINE((CLOSE<年) AND (CLOSE<=OPEN),CLOSE,OPEN,4.5,0),CoLorAAAA00;
STICKLINE((CLOSE<年) AND (CLOSE<=OPEN),CLOSE,OPEN,3.5,0),CoLorCCCC00;
STICKLINE((CLOSE<年) AND (CLOSE<=OPEN),CLOSE,OPEN,3,0),CoLorEEEE00;
STICKLINE((CLOSE<年) AND (CLOSE<=OPEN),CLOSE,OPEN,1,0),CoLorFFFF00;
STICKLINE((CLOSE<年) AND (CLOSE<=OPEN),HIGH,LOW,0,0),CoLorFFFF00;
STICKLINE((CLOSE<年) AND (CLOSE>OPEN),CLOSE,HIGH,0,0),CoLorFFFF00;
STICKLINE((CLOSE<年) AND (CLOSE>OPEN),OPEN,LOW,0,0),CoLorFFFF00;
VAR1:=((OPEN-REF(CLOSE,1))/(REF(CLOSE,1)))*(100);
VAR2:=(VAR1>3);
VAR3:=(VAR1<(-2));
跳空高开:DRAWTEXT(VAR2,(LOW)*(0.998),'高开'),CoLorFEBAF5;
跳空低开:DRAWTEXT(VAR3,(HIGH)*(1.002),'低开'),CoLor00FF00;
VARA:=100-((90)*(HHV(HIGH,21)-CLOSE))/(HHV(HIGH,21)-LLV(LOW,21));
VARB:=100-((90)*(HHV(HIGH,21)-CLOSE))/(HHV(HIGH,21)-LLV(LOW,21));
VARC:=100-MA(((100)*(HHV(HIGH,6)-CLOSE))/(HHV(HIGH,6)-LLV(LOW,6)),34);
DRAWTEXT(CROSS(VARB,MA(VARC,6)),(LOW)*0.995,'B'),CoLor208FFF,LINETHICK3;
DRAWTEXT(CROSS(HIGH,年) AND CROSS(VARB,MA(VARC,6)),(LOW)*0.990,'B'),COLORff00ff,LINETHICK7;
DRAWTEXT(CROSS(年,LOW) AND (CLOSE<=年),(HIGH)*1.01,'S'),COLORff00ff,LINETHICK7;
{------------------ ------------------};
{操盘铁律}
YC:=REF(CLOSE,1);
止损价位:(YC*1.0035*97+0.1)/99.65,COLORRED,LINETHICK0;
DRAWTEXTREL(10,30,'上市日期:'+NUMTOSTRN(REF(YEAR,BARSCOUNT(C)-1),0)+'年'+NUMTOSTRN(REF(MONTH,BARSCOUNT(C)-1),0)+'月'+NUMTOSTRN(REF(DAY,BARSCOUNT(C)-1),0)+'日'),COLOR00ffff,LINETHICK2;
WW:=BARSLAST(DISPSTATUS=1);
DRAWTEXTREL(250,30,'◇目前可见K线:'+NUMTOSTRN(WW+1,0)+'天'),COLORYELLOW,LINETHICK2;
DRAWTEXTABS(5,26,'★ ==============='),COLORRED;
DRAWTEXTABS(5,42,'操 '),COLORRED;
DRAWTEXTABS(5,58,'盘 '),COLORRED;
DRAWTEXTABS(5,74,'铁'),COLORRED;
DRAWTEXTABS(5,90,'律'),COLORRED;
DRAWTEXTABS(5,106,'★ ==============='),COLORRED;
DRAWTEXTABS(5,42,' 不怕不做,就怕做错'),colorYellow;
DRAWTEXTABS(5,58,' 红1买入 B点加仓 绿1卖岀' ),colorYellow;
DRAWTEXTABS(5,74,' 止损价'+NUMTOSTR(止损价位)+'元'),colorYellow;
DRAWTEXTABS(5,90,' 上阶梯工作 下阶梯休息'),color00FFFF;
M1:=3;
M2:=19;
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,10);
B:=REF(A,1);
STICKLINE(A>B ,A ,B ,10 ,0 ),COLOR0000FF;
STICKLINE(A<B ,B ,A ,10 ,0 ),COLOR00FF00;
- 上一篇公式:过左峰 实用高成功率自用实战指标 无未来
- 下一篇公式:古氏趋势 用带主力资金流的量能柱看趋势,透视主力意图