通达信拉升定底背离主图指标公式源码 通达信指标公式大全 (2)
2015-8-19 16:55:26 股票入门 http://rumen.southmoney.com
DRAWTEXT(FILTER((买=1),5),(LOW)*(0.96),'拉升'),CoLorFFDE00;
STICKLINE((CLOSE>REF(CLOSE,1)),HIGH,LOW,0,1),CoLor0000FF;
STICKLINE((CLOSE>REF(CLOSE,1)),OPEN,CLOSE,8,0),CoLor000055;
STICKLINE((CLOSE=REF(CLOSE,1)),HIGH,LOW,0,1),CoLorFFFFFF;
STICKLINE((CLOSE=REF(CLOSE,1)),OPEN,CLOSE,8,1),CoLor333333;
STICKLINE((CLOSE<REF(CLOSE,1)),HIGH,LOW,0,1),CoLorFFFF00;
STICKLINE((CLOSE<REF(CLOSE,1)),OPEN,CLOSE,8,0),CoLorFF0033;
STICKLINE((CLOSE>OPEN),OPEN,LOW,0.5,0),CoLor0000FF;
STICKLINE((CLOSE>OPEN),CLOSE,HIGH,0.5,0),CoLor0000FF;
STICKLINE((OPEN>=CLOSE),CLOSE,LOW,0.5,0),CoLor00FF00;
STICKLINE((OPEN>=CLOSE),OPEN,HIGH,0.5,0),CoLor00FF00;
STICKLINE((OPEN>=CLOSE),CLOSE,OPEN,7,0),CoLorFF7700;
STICKLINE((OPEN>=CLOSE),CLOSE,OPEN,6,0),CoLorFF9900;
STICKLINE((OPEN>=CLOSE),CLOSE,OPEN,5,0),CoLorFFBB00;
STICKLINE((OPEN>=CLOSE),CLOSE,OPEN,4,0),CoLorFFCC00;
STICKLINE((OPEN>=CLOSE),CLOSE,OPEN,3,0),CoLorFFDD00;
STICKLINE((OPEN>=CLOSE),CLOSE,OPEN,2,0),CoLorFFEE00;
STICKLINE((OPEN>=CLOSE),CLOSE,OPEN,1,0),CoLorFFFF00;
STICKLINE((CLOSE>OPEN),CLOSE,OPEN,7,0),CoLor000055;
STICKLINE((CLOSE>OPEN),CLOSE,OPEN,6,0),CoLor000066;
STICKLINE((CLOSE>OPEN),CLOSE,OPEN,5,0),CoLor000077;
STICKLINE((CLOSE>OPEN),CLOSE,OPEN,4,0),CoLor000099;
STICKLINE((CLOSE>OPEN),CLOSE,OPEN,3,0),CoLor0000BB;
STICKLINE((CLOSE>OPEN),CLOSE,OPEN,2,0),CoLor0000DD;
STICKLINE((CLOSE>OPEN),CLOSE,OPEN,1,0),CoLor0000FF;
VAR9Q:=((((CLOSE=HHV(CLOSE,4)) AND ((REF(CLOSE,1)>=REF(CLOSE,2)) or (REF(CLOSE,1)>=REF(CLOSE,3))) or (REF(CLOSE,1)=HHV(CLOSE,4)) AND (CLOSE>=REF(CLOSE,2))) or (REF(CLOSE,2)=HHV(CLOSE,4)) AND (REF(CLOSE,3)=LLV(CLOSE,4)) AND (CLOSE>=REF(CLOSE,1))) or (REF(CLOSE,3)=HHV(CLOSE,4)) AND (CLOSE>=REF(CLOSE,1)) AND (CLOSE>=REF(CLOSE,2)));
STICKLINE(VAR9Q,CLOSE,(OPEN+CLOSE)/(2),7,0),CoLor000055;
STICKLINE(VAR9Q,CLOSE,(OPEN+CLOSE)/(2),6,0),CoLor000066;
STICKLINE(VAR9Q,CLOSE,(OPEN+CLOSE)/(2),5,0),CoLor000077;
STICKLINE(VAR9Q,CLOSE,(OPEN+CLOSE)/(2),4,0),CoLor000099;
STICKLINE(VAR9Q,CLOSE,(OPEN+CLOSE)/(2),3,0),CoLor0000BB;
STICKLINE(VAR9Q,CLOSE,(OPEN+CLOSE)/(2),2,0),CoLor0000DD;
STICKLINE(VAR9Q,CLOSE,(OPEN+CLOSE)/(2),1,0),CoLor0000FF;
VARAQ:=(CLOSE=HHV(CLOSE,4)) AND (REF(CLOSE,1)=LLV(CLOSE,4));
STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/(2),7,0),CoLorFF11FF;
STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/(2),6,0),CoLorFF33FF;
STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/(2),5,0),CoLorFF55FF;
STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/(2),4,0),CoLorFF77FF;
STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/(2),3,0),CoLorFF99FF;
STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/(2),2,0),CoLorFFBBFF;
STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/(2),1,0),CoLorFFDDFF;
VARBQ:=((((CLOSE=LLV(CLOSE,4)) AND ((REF(CLOSE,1)<REF(CLOSE,2)) or (REF(CLOSE,1)<REF(CLOSE,3))) or (REF(CLOSE,1)=LLV(CLOSE,4)) AND (CLOSE<REF(CLOSE,2))) or (REF(CLOSE,2)=LLV(CLOSE,4)) AND (REF(CLOSE,1)<>HHV(CLOSE,4)) AND (CLOSE<REF(CLOSE,1))) or (REF(CLOSE,3)=LLV(CLOSE,4)) AND (CLOSE<REF(CLOSE,1)) AND (CLOSE<REF(CLOSE,2)));
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。