相似K线 通达信主图指标 源码 贴图
本通达信公式:相似K线主图,最大的特点是:在右上角有预测 有明天上涨概率
DRAWGBK(OPEN CLOSE,RGB(0,0,0),RGB(0,0,0),0,226,1);MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
MA250:MA(CLOSE,250);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
DRAWTEXT_FIX(1,0.99,0.99,1,STRCAT(227,EXTERNSTR(0,1))),COLORRED;
VAR1:=240/FROMOPEN;
VAR2:=VAR1;
VAR3:=HIGH-(HIGH-LOW)/3;
VAR4:=LOW+(HIGH-LOW)/3;
VAR5:=0.45;
VAR6:=CONST(HHV(HIGH,90));
VAR7:=CONST(LLV(LOW,100));
VAR8:=CONST(IF(REF(CLOSE,2)/REF(OPEN,2) 0.95 AND REF(OPEN,1) REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1) 0.03 AND CLOSE/OPEN 1.05 AND CLOSE REF(CLOSE,2),1,0));
VAR9:=CONST(IF(REF(CLOSE,2)/REF(OPEN,2) 1.03 AND REF(OPEN,1) REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1) 0.02 AND CLOSE/OPEN 0.97 AND CLOSE REF(CLOSE,2),1,0));
VAR10:=CONST(IF(CLOSE=OPEN AND HIGH/LOW 1.03,1,0));
VAR11:=CONST(IF(CLOSE=OPEN AND CLOSE=LOW AND CLOSE!=HIGH,1,0));
VAR12:=CONST(IF(REF(CLOSE,2)/REF(OPEN,2) 0.95 AND REF(OPEN,1) REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN 1.05 AND CLOSE REF(CLOSE,2),1,0));
VAR13:=CONST(IF(REF(CLOSE,2)/REF(OPEN,2) 1.05 AND REF(OPEN,1) REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN 0.95 AND CLOSE REF(CLOSE,2),1,0));
VAR14:=CONST(IF(MIN(OPEN,CLOSE)=LOW AND HIGH-LOW 3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE MA(CLOSE,5),1,0));
VAR15:=CONST(IF(MIN(OPEN,CLOSE)=LOW AND HIGH-LOW 3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE MA(CLOSE,5),1,0));
VAR16:=CONST(IF(HIGH=MAX(OPEN,CLOSE) AND HIGH-LOW 3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE MA(CLOSE,5),1,0));
VAR17:=CONST(IF(HIGH=MAX(OPEN,CLOSE) AND HIGH-LOW 3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE MA(CLOSE,5),1,0));
VAR18:=CONST(IF(REF(CLOSE,1)/REF(OPEN,1) 1.03 AND CLOSE/OPEN 0.96 AND CLOSE REF(OPEN,1) AND OPEN REF(CLOSE,1) OR (REF(CLOSE,1)/REF(OPEN,1) 0.97 AND CLOSE/OPEN 1.04 AND CLOSE REF(OPEN,1) AND OPEN REF(CLOSE,1)),1,0));
VAR19:=CONST(IF(REF(CLOSE,1)/REF(OPEN,1) 1.03 AND CLOSE/OPEN 0.97 AND OPEN REF(CLOSE,1) AND CLOSE REF(CLOSE,1),1,0));
VAR20:=CONST(IF(REF(CLOSE,1)/REF(OPEN,1) 0.97 AND CLOSE/OPEN 1.03 AND OPEN REF(CLOSE,1) AND CLOSE REF(CLOSE,1),1,0));
VAR21:=CONST(IF(ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) 0.04 AND ABS(CLOSE-OPEN)/CLOSE 0.005 AND MAX(CLOSE,OPEN) MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN) MIN(REF(CLOSE,1),REF(OPEN,1)),1,0));
VAR22:=CONST(IF(ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) 0.04 AND CLOSE=OPEN AND CLOSE MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE MIN(REF(CLOSE,1),REF(OPEN,1)),1,0));
VAR23:=CONST(IF(ABS(HIGH-REF(HIGH,1))/HIGH 0.001,1,0));
VAR24:=CONST(IF(ABS(LOW-REF(LOW,1))/LOW 0.001 AND ABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1) =0.001,1,0));
VAR25:=CONST(IF(CLOSE/OPEN 1.05 AND HIGH/LOW CLOSE/OPEN+0.018,1,0));
VAR26:=CONST(IF(REF(CLOSE,2) REF(OPEN,2) AND REF(CLOSE,1) REF(OPEN,1) AND CLOSE OPEN AND REF(CLOSE,1) REF(CLOSE,2) AND CLOSE REF(CLOSE,1),1,0));
VAR27:=CONST(IF(REF(CLOSE,1) REF(OPEN,1) AND CLOSE OPEN AND CLOSE/OPEN 0.98,1,0));
VAR28:=CONST(IF(REF(CLOSE,2) REF(OPEN,2) AND (REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2) =2/100 AND REF(OPEN,1) =REF(CLOSE,1) AND (REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1) =2/100 AND REF(OPEN,1) =REF(CLOSE,2) AND REF(CLOSE,1) =REF(OPEN,2) AND CLOSE =OPEN AND (CLOSE-OPEN)/OPEN =2/100 AND CLOSE =REF(OPEN,1) AND OPEN =REF(CLOSE,1) AND (MAX(CLOSE,REF(CLOSE,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2)) =1/100,1,0));
VAR29:=CONST(IF(REF(CLOSE,2) REF(OPEN,2) AND REF(CLOSE,1) REF(OPEN,1) AND CLOSE OPEN,1,0));
VAR30:=CONST(IF(OPEN EMA(CLOSE,20) OR OPEN EMA(CLOSE,40) OR OPEN EMA(CLOSE,60) AND CLOSE MAX(EMA(CLOSE,20),MAX(EMA(CLOSE,40),EMA(CLOSE,60))) AND (VOL/MA(VOL,30) 1.2 AND CLOSE/REF(CLOSE,1) 1.049),1,0));
VAR31:=CONST(IF(REF(CLOSE,4)/REF(OPEN,4) 1.03 AND REF(CLOSE,3) REF(OPEN,3) AND REF(CLOSE,2) REF(OPEN,2) AND REF(CLOSE,1) REF(OPEN,1) AND REF(LOW,4) REF(LOW,3) AND REF(LOW,4) REF(LOW,2) AND REF(LOW,4) REF(LOW,1) AND REF(HIGH,4) REF(HIGH,3) AND REF(HIGH,4) REF(HIGH,2) AND REF(HIGH,4) REF(HIGH,1) AND CLOSE/OPEN 1.03 AND CLOSE REF(CLOSE,4),1,0));
VAR32:=CONST(IF(REF(CLOSE,4)/REF(OPEN,4) 0.97 AND REF(CLOSE,3) REF(OPEN,3) AND REF(CLOSE,2) REF(OPEN,2) AND REF(CLOSE,1) REF(OPEN,1) AND REF(LOW,4) REF(LOW,3) AND REF(LOW,4) REF(LOW,2) AND REF(LOW,4) REF(LOW,1) AND REF(HIGH,4) REF(HIGH,3) AND REF(HIGH,4) REF(HIGH,2) AND REF(HIGH,4) REF(HIGH,1) AND CLOSE/OPEN 0.97 AND CLOSE REF(CLOSE,4),1,0));
VAR33:=CONST(IF(HIGH REF(LOW,1) OR LOW REF(HIGH,1),1,0));
VAR34:=CONST(IF(REF(CLOSE,2) REF(OPEN,2) AND REF(CLOSE,1) REF(OPEN,1) AND CLOSE OPEN AND REF(CLOSE,1) REF(CLOSE,2) AND CLOSE REF(CLOSE,1),1,0));
VAR35:=CONST(IF(LOW=CLOSE AND HIGH!=LOW,1,0));
VAR36:=CONST(IF(HIGH=CLOSE AND HIGH!=LOW,1,0));
VAR37:=CONST(IF(OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1)) 0,1,0));
VAR38:=CONST(IF((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW) 0.667,1,0));
VAR39:=CONST(IF((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW) 0.667,1,0));
VAR40:=CONST(IF(CLOSE=OPEN AND HIGH!=LOW,1,0));
VAR41:=CONST(IF(OPEN/CLOSE 1.05 AND HIGH/LOW OPEN/CLOSE+0.018,1,0));
VAR42:=CONST(IF(REF(CLOSE,1) REF(OPEN,1) AND CLOSE OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE 0.002 OR (REF(CLOSE,1) REF(OPEN,1) AND CLOSE OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE 0.002),1,0));
VAR43:=CONST(IF(REF(CLOSE,1)/REF(OPEN,1) =1.03 AND OPEN REF(CLOSE,1) AND OPEN REF(OPEN,1) AND CLOSE REF(OPEN,1),1,0));
VAR44:=CONST(IF(EVERY(CLOSE OPEN,4),1,0));
VAR45:=CONST(IF(EVERY(CLOSE OPEN,4),1,0));
VAR46:=CONST(IF(VOL REF(VOL,1) OR VOL CAPITAL AND (OPEN =REF(HIGH,1) AND REF(HIGH,1) REF(HIGH,2)*1.06) AND CLOSE REF(CLOSE,1)-REF(CLOSE,1)*0.01 AND (CLOSE HIGH*0.965 AND HIGH OPEN*1.05) AND (LOW OPEN AND LOW CLOSE AND HIGH REF(CLOSE,1)*1.06) AND (HIGH-MAX(OPEN,CLOSE))/2 MIN(OPEN,CLOSE)-LOW AND ABS(OPEN-CLOSE)/2 MIN(OPEN,CLOSE)-LOW,1,0));
VAR47:=CONST(IF(REF(CLOSE,2)/REF(CLOSE,3) =1.0977 AND REF(OPEN,1) REF(HIGH,2) AND REF(LOW,1) REF(HIGH,2) AND REF(CLOSE,1) REF(OPEN,1) AND CLOSE REF(CLOSE,1) AND LOW REF(LOW,1),1,0));
STICKLINE(VAR8=1 AND (REF(CLOSE,2)/REF(OPEN,2) 0.95 AND REF(OPEN,1) REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1) 0.03 AND CLOSE/OPEN 1.05 AND CLOSE REF(CLOSE,2)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR9=1 AND (REF(CLOSE,2)/REF(OPEN,2) 1.03 AND REF(OPEN,1) REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1) 0.02 AND CLOSE/OPEN 0.97 AND CLOSE REF(CLOSE,2)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR10=1 AND (CLOSE=OPEN AND HIGH/LOW 1.03),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR11=1 AND (CLOSE=OPEN AND CLOSE=LOW AND CLOSE!=HIGH),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR12=1 AND (REF(CLOSE,2)/REF(OPEN,2) 0.95 AND REF(OPEN,1) REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN 1.05 AND CLOSE REF(CLOSE,2)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR13=1 AND (REF(CLOSE,2)/REF(OPEN,2) 1.05 AND REF(OPEN,1) REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN 0.95 AND CLOSE REF(CLOSE,2)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR14=1 AND (MIN(OPEN,CLOSE)=LOW AND HIGH-LOW 3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE MA(CLOSE,5)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR15=1 AND (MIN(OPEN,CLOSE)=LOW AND HIGH-LOW 3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE MA(CLOSE,5)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR16=1 AND (HIGH=MAX(OPEN,CLOSE) AND HIGH-LOW 3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE MA(CLOSE,5)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR17=1 AND (HIGH=MAX(OPEN,CLOSE) AND HIGH-LOW 3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE MA(CLOSE,5)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR18=1 AND (REF(CLOSE,1)/REF(OPEN,1) 1.03 AND CLOSE/OPEN 0.96 AND CLOSE REF(OPEN,1) AND OPEN REF(CLOSE,1) OR (REF(CLOSE,1)/REF(OPEN,1) 0.97 AND CLOSE/OPEN 1.04 AND CLOSE REF(OPEN,1) AND OPEN REF(CLOSE,1))),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR19=1 AND (REF(CLOSE,1)/REF(OPEN,1) 1.03 AND CLOSE/OPEN 0.97 AND OPEN REF(CLOSE,1) AND CLOSE REF(CLOSE,1)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR20=1 AND (REF(CLOSE,1)/REF(OPEN,1) 0.97 AND CLOSE/OPEN 1.03 AND OPEN REF(CLOSE,1) AND CLOSE REF(CLOSE,1)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR21=1 AND (ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) 0.04 AND ABS(CLOSE-OPEN)/CLOSE 0.005 AND MAX(CLOSE,OPEN) MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN) MIN(REF(CLOSE,1),REF(OPEN,1))),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR22=1 AND (ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) 0.04 AND CLOSE=OPEN AND CLOSE MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE MIN(REF(CLOSE,1),REF(OPEN,1))),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR23=1 AND ABS(HIGH-REF(HIGH,1))/HIGH 0.001,OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR24=1 AND (ABS(LOW-REF(LOW,1))/LOW 0.001 AND ABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1) =0.001),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR25=1 AND (CLOSE/OPEN 1.05 AND HIGH/LOW CLOSE/OPEN+0.018),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR26=1 AND (REF(CLOSE,2) REF(OPEN,2) AND REF(CLOSE,1) REF(OPEN,1) AND CLOSE OPEN AND REF(CLOSE,1) REF(CLOSE,2) AND CLOSE REF(CLOSE,1)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR27=1 AND (REF(CLOSE,1) REF(OPEN,1) AND CLOSE OPEN AND CLOSE/OPEN 0.98),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR28=1 AND (REF(CLOSE,2) REF(OPEN,2) AND (REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2) =2/100 AND REF(OPEN,1) =REF(CLOSE,1) AND (REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1) =2/100 AND REF(OPEN,1) =REF(CLOSE,2) AND REF(CLOSE,1) =REF(OPEN,2) AND CLOSE =OPEN AND (CLOSE-OPEN)/OPEN =2/100 AND CLOSE =REF(OPEN,1) AND OPEN =REF(CLOSE,1) AND (MAX(CLOSE,REF(CLOSE,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2)) =1/100),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR29=1 AND (REF(CLOSE,2) REF(OPEN,2) AND REF(CLOSE,1) REF(OPEN,1) AND CLOSE OPEN),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR30=1 AND (OPEN EMA(CLOSE,20) OR OPEN EMA(CLOSE,40) OR OPEN EMA(CLOSE,60) AND CLOSE MAX(EMA(CLOSE,20),MAX(EMA(CLOSE,40),EMA(CLOSE,60))) AND (VOL/MA(VOL,30) 1.2 AND CLOSE/REF(CLOSE,1) 1.049)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR31=1 AND (REF(CLOSE,4)/REF(OPEN,4) 1.03 AND REF(CLOSE,3) REF(OPEN,3) AND REF(CLOSE,2) REF(OPEN,2) AND REF(CLOSE,1) REF(OPEN,1) AND REF(LOW,4) REF(LOW,3) AND REF(LOW,4) REF(LOW,2) AND REF(LOW,4) REF(LOW,1) AND REF(HIGH,4) REF(HIGH,3) AND REF(HIGH,4) REF(HIGH,2) AND REF(HIGH,4) REF(HIGH,1) AND CLOSE/OPEN 1.03 AND CLOSE REF(CLOSE,4)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR32=1 AND (REF(CLOSE,4)/REF(OPEN,4) 0.97 AND REF(CLOSE,3) REF(OPEN,3) AND REF(CLOSE,2) REF(OPEN,2) AND REF(CLOSE,1) REF(OPEN,1) AND REF(LOW,4) REF(LOW,3) AND REF(LOW,4) REF(LOW,2) AND REF(LOW,4) REF(LOW,1) AND REF(HIGH,4) REF(HIGH,3) AND REF(HIGH,4) REF(HIGH,2) AND REF(HIGH,4) REF(HIGH,1) AND CLOSE/OPEN 0.97 AND CLOSE REF(CLOSE,4)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR33=1 AND (HIGH REF(LOW,1) OR LOW REF(HIGH,1)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR34=1 AND (REF(CLOSE,2) REF(OPEN,2) AND REF(CLOSE,1) REF(OPEN,1) AND CLOSE OPEN AND REF(CLOSE,1) REF(CLOSE,2) AND CLOSE REF(CLOSE,1)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR35=1 AND (LOW=CLOSE AND HIGH!=LOW),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR36=1 AND (HIGH=CLOSE AND HIGH!=LOW),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR37=1 AND (OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1)) 0),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR38=1 AND (MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW) 0.667,OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR39=1 AND (HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW) 0.667,OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR40=1 AND (CLOSE=OPEN AND HIGH!=LOW),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR41=1 AND (OPEN/CLOSE 1.05 AND HIGH/LOW OPEN/CLOSE+0.018),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR42=1 AND (REF(CLOSE,1) REF(OPEN,1) AND CLOSE OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE 0.002 OR (REF(CLOSE,1) REF(OPEN,1) AND CLOSE OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE 0.002)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR43=1 AND (REF(CLOSE,1)/REF(OPEN,1) =1.03 AND OPEN REF(CLOSE,1) AND OPEN REF(OPEN,1) AND CLOSE REF(OPEN,1)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR44=1 AND EVERY(CLOSE OPEN,4),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR45=1 AND EVERY(CLOSE OPEN,4),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR46=1 AND (VOL REF(VOL,1) OR VOL CAPITAL AND (OPEN =REF(HIGH,1) AND REF(HIGH,1) REF(HIGH,2)*1.06) AND CLOSE REF(CLOSE,1)-REF(CLOSE,1)*0.01 AND (CLOSE HIGH*0.965 AND HIGH OPEN*1.05) AND (LOW OPEN AND LOW CLOSE AND HIGH REF(CLOSE,1)*1.06) AND (HIGH-MAX(OPEN,CLOSE))/2 MIN(OPEN,CLOSE)-LOW AND ABS(OPEN-CLOSE)/2 MIN(OPEN,CLOSE)-LOW),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(VAR47=1 AND (REF(CLOSE,2)/REF(CLOSE,3) =1.0977 AND REF(OPEN,1) REF(HIGH,2) AND REF(LOW,1) REF(HIGH,2) AND REF(CLOSE,1) REF(OPEN,1) AND CLOSE REF(CLOSE,1) AND LOW REF(LOW,1)),OPEN,CLOSE,3,0),COLORYELLOW;
VAR48:=IF(VAR8=1,0+0,(-0.03));
VAR49:=IF(VAR9=1,VAR48+0.03,VAR48);
VAR50:=IF(VAR10=1,VAR49+0.03,VAR49);
VAR51:=IF(VAR11=1,VAR50+0.03,VAR50);
VAR52:=IF(VAR12=1,VAR51+0.03,VAR51);
VAR53:=IF(VAR13=1,VAR52+0.03,VAR52);
VAR54:=IF(VAR14=1,VAR53+0.03,VAR53);
VAR55:=IF(VAR15=1,VAR54+0.03,VAR54);
VAR56:=IF(VAR16=1,VAR55+0.03,VAR55);
VAR57:=IF(VAR17=1,VAR56+0.03,VAR56);
VAR58:=IF(VAR18=1,VAR57+0.03,VAR57);
VAR59:=IF(VAR19=1,VAR58+0.03,VAR58);
VAR60:=IF(VAR20=1,VAR59+0.03,VAR59);
VAR61:=IF(VAR21=1,VAR60+0.03,VAR60);
VAR62:=IF(VAR22=1,VAR61+0.03,VAR61);
VAR63:=IF(VAR23=1,VAR62+0.03,VAR62);
VAR64:=IF(VAR24=1,VAR63+0.03,VAR63);
VAR65:=IF(VAR25=1,VAR64+0.03,VAR64);
VAR66:=IF(VAR26=1,VAR65+0.03,VAR65);
VAR67:=IF(VAR27=1,VAR66+0.03,VAR66);
VAR68:=IF(VAR28=1,VAR67+0.03,VAR67);
VAR69:=IF(VAR29=1,VAR68+0.03,VAR68);
VAR70:=IF(VAR30=1,VAR69+0.03,VAR69);
VAR71:=IF(VAR31=1,VAR70+0.03,VAR70);
VAR72:=IF(VAR32=1,VAR71+0.03,VAR71);
VAR73:=IF(VAR33=1,VAR72+0.03,VAR72);
VAR74:=IF(VAR34=1,VAR73+0.03,VAR73);
VAR75:=IF(VAR35=1,VAR74+0.03,VAR74);
VAR76:=IF(VAR36=1,VAR75+0.03,VAR75);
VAR77:=IF(VAR37=1,VAR76+0.03,VAR76);
VAR78:=IF(VAR38=1,VAR77+0.03,VAR77);
VAR79:=IF(VAR39=1,VAR78+0.03,VAR78);
VAR80:=IF(VAR40=1,VAR79+0.03,VAR79);
VAR81:=IF(VAR41=1,VAR80+0.03,VAR80);
VAR82:=IF(VAR42=1,VAR81+0.03,VAR81);
VAR83:=IF(VAR43=1,VAR82+0.03,VAR82);
VAR84:=IF(VAR44=1,VAR83+0.03,VAR83);
VAR85:=IF(VAR45=1,VAR84+0.03,VAR84);
VAR86:=IF(VAR46=1,VAR85+0.03,VAR85);
VAR87:=IF(VAR47=1,VAR86+0.03,VAR86);
{www.9m8.cn 九毛八公式指标网}
VAR88:=REF(CLOSE,2)/REF(OPEN,2) 0.95 AND REF(OPEN,1) REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1) 0.03 AND CLOSE/OPEN 1.05 AND CLOSE REF(CLOSE,2);
VAR89:=REF(CLOSE,2)/REF(OPEN,2) 1.03 AND REF(OPEN,1) REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1) 0.02 AND CLOSE/OPEN 0.97 AND CLOSE REF(CLOSE,2);
VAR90:=CLOSE=OPEN AND HIGH/LOW 1.03;
VAR91:=CLOSE=OPEN AND CLOSE=LOW AND CLOSE!=HIGH;
VAR92:=REF(CLOSE,2)/REF(OPEN,2) 0.95 AND REF(OPEN,1) REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN 1.05 AND CLOSE REF(CLOSE,2);
VAR93:=REF(CLOSE,2)/REF(OPEN,2) 1.05 AND REF(OPEN,1) REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN 0.95 AND CLOSE REF(CLOSE,2);
VAR94:=MIN(OPEN,CLOSE)=LOW AND HIGH-LOW 3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE MA(CLOSE,5);
VAR95:=MIN(OPEN,CLOSE)=LOW AND HIGH-LOW 3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE MA(CLOSE,5);
VAR96:=HIGH=MAX(OPEN,CLOSE) AND HIGH-LOW 3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE MA(CLOSE,5);
VAR97:=HIGH=MAX(OPEN,CLOSE) AND HIGH-LOW 3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE MA(CLOSE,5);
VAR98:=REF(CLOSE,1)/REF(OPEN,1) 1.03 AND CLOSE/OPEN 0.96 AND CLOSE REF(OPEN,1) AND OPEN REF(CLOSE,1) OR (REF(CLOSE,1)/REF(OPEN,1) 0.97 AND CLOSE/OPEN 1.04 AND CLOSE REF(OPEN,1) AND OPEN REF(CLOSE,1));
VAR99:=REF(CLOSE,1)/REF(OPEN,1) 1.03 AND CLOSE/OPEN 0.97 AND OPEN REF(CLOSE,1) AND CLOSE REF(CLOSE,1);
VAR100:=REF(CLOSE,1)/REF(OPEN,1) 0.97 AND CLOSE/OPEN 1.03 AND OPEN REF(CLOSE,1) AND CLOSE REF(CLOSE,1);
VAR101:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) 0.04 AND ABS(CLOSE-OPEN)/CLOSE 0.005 AND MAX(CLOSE,OPEN) MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN) MIN(REF(CLOSE,1),REF(OPEN,1));
VAR102:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) 0.04 AND CLOSE=OPEN AND CLOSE MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE MIN(REF(CLOSE,1),REF(OPEN,1));
VAR103:=ABS(HIGH-REF(HIGH,1))/HIGH 0.001;
VAR104:=ABS(LOW-REF(LOW,1))/LOW 0.001 AND ABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1) =0.001;
VAR105:=CLOSE/OPEN 1.05 AND HIGH/LOW CLOSE/OPEN+0.018;
VAR106:=REF(CLOSE,2) REF(OPEN,2) AND REF(CLOSE,1) REF(OPEN,1) AND CLOSE OPEN AND REF(CLOSE,1) REF(CLOSE,2) AND CLOSE REF(CLOSE,1);
VAR107:=REF(CLOSE,1) REF(OPEN,1) AND CLOSE OPEN AND CLOSE/OPEN 0.98;
VAR108:=REF(CLOSE,2) REF(OPEN,2) AND (REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2) =2/100 AND REF(OPEN,1) =REF(CLOSE,1) AND (REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1) =2/100 AND REF(OPEN,1) =REF(CLOSE,2) AND REF(CLOSE,1) =REF(OPEN,2) AND CLOSE =OPEN AND (CLOSE-OPEN)/OPEN =2/100 AND CLOSE =REF(OPEN,1) AND OPEN =REF(CLOSE,1) AND (MAX(CLOSE,REF(CLOSE,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2)) =1/100;
VAR109:=REF(CLOSE,2) REF(OPEN,2) AND REF(CLOSE,1) REF(OPEN,1) AND CLOSE OPEN;
VAR110:=OPEN EMA(CLOSE,20) OR OPEN EMA(CLOSE,40) OR OPEN EMA(CLOSE,60) AND CLOSE MAX(EMA(CLOSE,20),MAX(EMA(CLOSE,40),EMA(CLOSE,60))) AND (VOL/MA(VOL,30) 1.2 AND CLOSE/REF(CLOSE,1) 1.049);
VAR111:=REF(CLOSE,4)/REF(OPEN,4) 1.03 AND REF(CLOSE,3) REF(OPEN,3) AND REF(CLOSE,2) REF(OPEN,2) AND REF(CLOSE,1) REF(OPEN,1) AND REF(LOW,4) REF(LOW,3) AND REF(LOW,4) REF(LOW,2) AND REF(LOW,4) REF(LOW,1) AND REF(HIGH,4) REF(HIGH,3) AND REF(HIGH,4) REF(HIGH,2) AND REF(HIGH,4) REF(HIGH,1) AND CLOSE/OPEN 1.03 AND CLOSE REF(CLOSE,4);
VAR112:=REF(CLOSE,4)/REF(OPEN,4) 0.97 AND REF(CLOSE,3) REF(OPEN,3) AND REF(CLOSE,2) REF(OPEN,2) AND REF(CLOSE,1) REF(OPEN,1) AND REF(LOW,4) REF(LOW,3) AND REF(LOW,4) REF(LOW,2) AND REF(LOW,4) REF(LOW,1) AND REF(HIGH,4) REF(HIGH,3) AND REF(HIGH,4) REF(HIGH,2) AND REF(HIGH,4) REF(HIGH,1) AND CLOSE/OPEN 0.97 AND CLOSE REF(CLOSE,4);
VAR113:=HIGH REF(LOW,1) OR LOW REF(HIGH,1);
VAR114:=REF(CLOSE,2) REF(OPEN,2) AND REF(CLOSE,1) REF(OPEN,1) AND CLOSE OPEN AND REF(CLOSE,1) REF(CLOSE,2) AND CLOSE REF(CLOSE,1);
VAR115:=LOW=CLOSE AND HIGH!=LOW;
VAR116:=HIGH=CLOSE AND HIGH!=LOW;
VAR117:=OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))
VAR118:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW) 0.667;
VAR119:=(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW) 0.667;
VAR120:=CLOSE=OPEN AND HIGH!=LOW;
VAR121:=OPEN/CLOSE 1.05 AND HIGH/LOW OPEN/CLOSE+0.018;
VAR122:=REF(CLOSE,1) REF(OPEN,1) AND CLOSE OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE 0.002 OR (REF(CLOSE,1) REF(OPEN,1) AND CLOSE OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE 0.002);
VAR123:=REF(CLOSE,1)/REF(OPEN,1) =1.03 AND OPEN REF(CLOSE,1) AND OPEN REF(OPEN,1) AND CLOSE REF(OPEN,1);
VAR124:=EVERY(CLOSE OPEN,4);
VAR125:=EVERY(CLOSE OPEN,4);
VAR126:=VOL REF(VOL,1) OR VOL CAPITAL AND (OPEN =REF(HIGH,1) AND REF(HIGH,1) REF(HIGH,2)*1.06) AND CLOSE REF(CLOSE,1)-REF(CLOSE,1)*0.01 AND (CLOSE HIGH*0.965 AND HIGH OPEN*1.05) AND (LOW OPEN AND LOW CLOSE AND HIGH REF(CLOSE,1)*1.06) AND (HIGH-MAX(OPEN,CLOSE))/2 MIN(OPEN,CLOSE)-LOW AND ABS(OPEN-CLOSE)/2 MIN(OPEN,CLOSE)-LOW;
VAR127:=REF(CLOSE,2)/REF(CLOSE,3) =1.0977 AND REF(OPEN,1) REF(HIGH,2) AND REF(LOW,1) REF(HIGH,2) AND REF(CLOSE,1) REF(OPEN,1) AND CLOSE REF(CLOSE,1) AND LOW REF(LOW,1);
DRAWTEXT_FIX(CURRBARSCOUNT=5,0.99,0,1,228),COLORRED;
DRAWNUMBER_FIX(VAR8=1 AND CURRBARSCOUNT=5,0.975,VAR48,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR88,1)=1,180)/COUNT(VAR88=1,180)*100)),COLORWHITE;
DRAWNUMBER_FIX(VAR9=1 AND CURRBARSCOUNT=5,0.975,VAR49,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR89,1)=1,180)/COUNT(VAR89=1,180)*100)),COLORWHITE;
DRAWNUMBER_FIX(VAR10=1 AND CURRBARSCOUNT=5,0.975,VAR50,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR90,1)=1,180)/COUNT(VAR90=1,180)*100)),COLORYELLOW;
DRAWNUMBER_FIX(VAR11=1 AND CURRBARSCOUNT=5,0.975,VAR51,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR91,1)=1,180)/COUNT(VAR91=1,180)*100)),COLORWHITE;
DRAWNUMBER_FIX(VAR12=1 AND CURRBARSCOUNT=5,0.975,VAR52,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR92,1)=1,180)/COUNT(VAR92=1,180)*100)),COLORWHITE;
DRAWNUMBER_FIX(VAR13=1 AND CURRBARSCOUNT=5,0.975,VAR53,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR93,1)=1,180)/COUNT(VAR93=1,180)*100)),COLORWHITE;
DRAWNUMBER_FIX(VAR14=1 AND CURRBARSCOUNT=5,0.975,VAR54,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR94,1)=1,180)/COUNT(VAR94=1,180)*100)),COLORWHITE;
DRAWNUMBER_FIX(VAR15=1 AND CURRBARSCOUNT=5,0.975,VAR55,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR95,1)=1,180)/COUNT(VAR95=1,180)*100)),COLORYELLOW;
DRAWNUMBER_FIX(VAR16=1 AND CURRBARSCOUNT=5,0.975,VAR56,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR96,1)=1,180)/COUNT(VAR96=1,180)*100)),COLORWHITE;
DRAWNUMBER_FIX(VAR17=1 AND CURRBARSCOUNT=5,0.975,VAR57,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR97,1)=1,180)/COUNT(VAR97=1,180)*100)),COLORWHITE;
DRAWNUMBER_FIX(VAR18=1 AND CURRBARSCOUNT=5,0.975,VAR58,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR98,1)=1,180)/COUNT(VAR98=1,180)*100)),COLORRED;
DRAWNUMBER_FIX(VAR19=1 AND CURRBARSCOUNT=5,0.975,VAR59,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR99,1)=1,180)/COUNT(VAR99=1,180)*100)),COLORCYAN;
DRAWNUMBER_FIX(VAR20=1 AND CURRBARSCOUNT=5,0.975,VAR60,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR100,1)=1,180)/COUNT(VAR100=1,180)*100)),COLORRED;
DRAWNUMBER_FIX(VAR21=1 AND CURRBARSCOUNT=5,0.975,VAR61,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR101,1)=1,180)/COUNT(VAR101=1,180)*100)),COLORCYAN;
DRAWNUMBER_FIX(VAR22=1 AND CURRBARSCOUNT=5,0.975,VAR62,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR102,1)=1,180)/COUNT(VAR102=1,180)*100)),COLORWHITE;
DRAWNUMBER_FIX(VAR23=1 AND CURRBARSCOUNT=5,0.975,VAR63,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR103,1)=1,180)/COUNT(VAR103=1,180)*100)),COLORCYAN;
DRAWNUMBER_FIX(VAR24=1 AND CURRBARSCOUNT=5,0.975,VAR64,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR104,1)=1,180)/COUNT(VAR104=1,180)*100)),COLORWHITE;
DRAWNUMBER_FIX(VAR25=1 AND CURRBARSCOUNT=5,0.975,VAR65,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR105,1)=1,180)/COUNT(VAR105=1,180)*100)),COLORCYAN;
DRAWNUMBER_FIX(VAR26=1 AND CURRBARSCOUNT=5,0.975,VAR66,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR106,1)=1,180)/COUNT(VAR106=1,180)*100)),COLORCYAN;
DRAWNUMBER_FIX(VAR27=1 AND CURRBARSCOUNT=5,0.975,VAR67,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR107,1)=1,180)/COUNT(VAR107=1,180)*100)),COLORCYAN;
DRAWNUMBER_FIX(VAR28=1 AND CURRBARSCOUNT=5,0.975,VAR68,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR108,1)=1,180)/COUNT(VAR108=1,180)*100)),COLORRED;
DRAWNUMBER_FIX(VAR29=1 AND CURRBARSCOUNT=5,0.975,VAR69,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR109,1)=1,180)/COUNT(VAR109=1,180)*100)),COLORCYAN;
DRAWNUMBER_FIX(VAR30=1 AND CURRBARSCOUNT=5,0.975,VAR70,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR110,1)=1,180)/COUNT(VAR110=1,180)*100)),COLORMAGENTA;
DRAWNUMBER_FIX(VAR31=1 AND CURRBARSCOUNT=5,0.975,VAR71,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR111,1)=1,180)/COUNT(VAR111=1,180)*100)),COLORWHITE;
DRAWNUMBER_FIX(VAR32=1 AND CURRBARSCOUNT=5,0.975,VAR72,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR112,1)=1,180)/COUNT(VAR112=1,180)*100)),COLORWHITE;
DRAWNUMBER_FIX(VAR33=1 AND CURRBARSCOUNT=5,0.975,VAR73,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR113,1)=1,180)/COUNT(VAR113=1,180)*100)),COLORCYAN;
DRAWNUMBER_FIX(VAR34=1 AND CURRBARSCOUNT=5,0.975,VAR74,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR114,1)=1,180)/COUNT(VAR114=1,180)*100)),COLORYELLOW;
DRAWNUMBER_FIX(VAR35=1 AND CURRBARSCOUNT=5,0.975,VAR75,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR115,1)=1,180)/COUNT(VAR115=1,180)*100)),COLORCYAN;
DRAWNUMBER_FIX(VAR36=1 AND CURRBARSCOUNT=5,0.975,VAR76,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR116,1)=1,180)/COUNT(VAR116=1,180)*100)),COLORCYAN;
DRAWNUMBER_FIX(VAR37=1 AND CURRBARSCOUNT=5,0.975,VAR77,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR117,1)=1,180)/COUNT(VAR117=1,180)*100)),COLORCYAN;
DRAWNUMBER_FIX(VAR38=1 AND CURRBARSCOUNT=5,0.975,VAR78,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR118,1)=1,180)/COUNT(VAR118=1,180)*100)),COLORCYAN;
DRAWNUMBER_FIX(VAR39=1 AND CURRBARSCOUNT=5,0.975,VAR79,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR119,1)=1,180)/COUNT(VAR119=1,180)*100)),COLORCYAN;
DRAWNUMBER_FIX(VAR40=1 AND CURRBARSCOUNT=5,0.975,VAR80,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR120,1)=1,180)/COUNT(VAR120=1,180)*100)),COLORCYAN;
DRAWNUMBER_FIX(VAR41=1 AND CURRBARSCOUNT=5,0.975,VAR81,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR121,1)=1,180)/COUNT(VAR121=1,180)*100)),COLORYELLOW;
DRAWNUMBER_FIX(VAR42=1 AND CURRBARSCOUNT=5,0.975,VAR82,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR122,1)=1,180)/COUNT(VAR122=1,180)*100)),COLORCYAN;
DRAWNUMBER_FIX(VAR43=1 AND CURRBARSCOUNT=5,0.975,VAR83,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR123,1)=1,180)/COUNT(VAR123=1,180)*100)),COLORRED;
DRAWNUMBER_FIX(VAR44=1 AND CURRBARSCOUNT=5,0.975,VAR84,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR124,1)=1,180)/COUNT(VAR124=1,180)*100)),COLORMAGENTA;
DRAWNUMBER_FIX(VAR45=1 AND CURRBARSCOUNT=5,0.975,VAR85,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR125,1)=1,180)/COUNT(VAR125=1,180)*100)),COLORCYAN;
DRAWNUMBER_FIX(VAR46=1 AND CURRBARSCOUNT=5,0.975,VAR86,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR126,1)=1,180)/COUNT(VAR126=1,180)*100)),COLORWHITE;
DRAWNUMBER_FIX(VAR47=1 AND CURRBARSCOUNT=5,0.975,VAR87,1,INTPART(COUNT(CLOSE OPEN AND REF(VAR127,1)=1,180)/COUNT(VAR127=1,180)*100)),COLORWHITE;