副图指标,黄色攻击线上穿白色线买入,上穿红色开启主升,蓝色是底部冰点。
hinK线密码—破译K线的密码
hinK线密码—破译K线的密码
DRAWGBK(ISLASTBAR, RGB(60,60,60),RGB(0,0,0),0,'0',0);
JJ:=(((CLOSE - LLV(LOW,N)) / (HHV(HIGH,N) - LLV(LOW,N))) * 100);
DRAWBAND(JJ,RGB(168,18,38),75,RGB(10,100,200));
DRAWBAND(JJ,RGB(168,18,38),25,RGB(10,100,200));
STICKLINE(C>0,75, 25,10,0), COLOR404050 ;
DRAWICON(CROSS(JJ,A98),JJ,25);
DRAWTEXT(ISLASTBAR, A95,'线上主升浪'),COLORRED;
DRAWTEXT(ISLASTBAR, A75,'线上买入'),COLORWHITE;
攻击:(((CLOSE - LLV(LOW,N)) / (HHV(HIGH,N) - LLV(LOW,N))) * 100),COLORYELLOW ;
BT2:=CROSS(攻击,A50) AND CROSS(攻击,A75) ;
DRAWTEXT(BT2,50,'预测'),COLORFF00FF;
DRAWRECTREL(1000,1,980,1000,RGB(0,75,200));
DRAWRECTREL(1000,1,980,1000,RGB(0,250,50));
DRAWRECTREL(1000,800-((CONST(攻击)/100*800)),980,1000,RGB(175,50,0));
DRAWTEXT_FIX(1,0.800,0.00,0,STRCAT(STRCAT('攻击度',CON2STR(攻击,2)),' %')),COLORYELLOW;
上涨趋势:IF(BT2,攻击,DRAWNULL),COLORRED,LINETHICK2;