同花顺龙在天副图指标
源码
GTYX:=HIGH/CLOSE<1.01
AND OPEN<=REF(HIGH,1)
AND HIGH>REF(HIGH,1)
AND CLOSE/OPEN>1.05;
DRAWTEXT(GTYX,HIGH,'买'),coloryellow;
gtyxcs:=REF(HIGH,1)/REF(CLOSE,1)<1.01
AND REF(OPEN,1)<=REF(HIGH,2)
AND REF(HIGH,1)>REF(HIGH,2)
AND REF(CLOSE,1)/REF(OPEN,1)>1.05
AND HIGH/REF(CLOSE,1)<1.02 ;
DRAWTEXT(gtyxcs,HIGH,'失败'),colorred;
DST:= LOW>=REF(CLOSE,1)
AND HIGH/REF(HIGH,1)<1.04
AND HIGH>REF(HIGH,1)
AND CLOSE/OPEN>1.05;
DRAWTEXT(dst,HIGH,'买'),colorgreen;
DSTcs:= REF(LOW,1)>=REF(CLOSE,2)
AND REF(HIGH,1)/REF(HIGH,2)<1.04
AND REF(HIGH,1)>REF(HIGH,2)
AND REF(CLOSE,1)/REF(OPEN,1)>1.05
AND HIGH/REF(CLOSE,1)<1.02 ;
DRAWTEXT(dstcs,HIGH,'失败'),colorred;
ddjx:=OPEN/ABS(CLOSE-OPEN)>1.01
AND ABS(LOW-OPEN)/ABS(CLOSE-OPEN)>1.5
AND REF(CLOSE,1)<REF(OPEN,1) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,3)<REF(OPEN,3)
AND REF(HIGH,1)<REF(HIGH,2)
AND CLOSE>REF(CLOSE,1)
AND HIGH<REF(HIGH,1);
DRAWTEXT(ddjx,HIGH,'买'),colorblue;
ddjxcs:= REF(OPEN,1)/ABS(REF(CLOSE,1)-REF(OPEN,1))>1.01
AND ABS(REF(LOW,1)-REF(OPEN,1))/ABS( REF(CLOSE,1)-REF(OPEN,1))>1.5
AND REF(CLOSE,2)< REF(OPEN,2) AND REF(CLOSE,3)< REF(OPEN,3) AND REF(CLOSE,4)< REF(OPEN,4)
AND REF(HIGH,2)<REF(HIGH,3)
AND REF(CLOSE,1)>REF(CLOSE,2)
AND REF(HIGH,1)<REF(HIGH,2)
AND HIGH/REF(CLOSE,1)<1.02 ;
DRAWTEXT(ddjxcs,HIGH,'失败'),colorred;
ygy:=REF(CLOSE,1)<REF(OPEN,1)
AND CLOSE/OPEN>1.04
AND CLOSE/REF(OPEN,1)<1.03
AND ABS(HIGH-LOW)>ABS(REF(HIGH,1)-REF(LOW,1))
AND HIGH>REF(HIGH,1) AND LOW<REF(LOW,1)
AND HIGH/REF(HIGH,1)<1.025
AND CLOSE>REF(OPEN,1)
AND REF(OPEN,1)/REF(CLOSE,1)>1.01;
DRAWTEXT(ygy,HIGH,'买'),colorgray;
ygyCS:=REF(CLOSE,2)<REF(OPEN,2)
AND REF(CLOSE,1)/REF(OPEN,1)>1.04
AND REF(CLOSE,1)/REF(OPEN,2)<1.03
AND ABS(REF(HIGH,1)-REF(LOW,1))>ABS(REF(HIGH,2)-REF(LOW,2))
AND REF(HIGH,1)>REF(HIGH,2) AND REF(LOW,1)<REF(LOW,2)
AND REF(HIGH,1)/REF(HIGH,2)<1.025
AND REF(CLOSE,1)>REF(OPEN,2)
AND REF(OPEN,2)/REF(CLOSE,2)>1.01
AND HIGH/REF(CLOSE,1)<1.02 ;
DRAWTEXT(ygycs,HIGH,'失败'),colorred;
ddm1:=CLOSE>OPEN AND HHV(CLOSE,50)==CLOSE
AND HUANSHOU>15 AND KZhengFu <14
AND OPEN<=REF(HIGH,1)
AND HIGH/CLOSE<1.015;
q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
q3:=SMA(q2, 9, 1);
q4:=SMA(q3, 3, 1);
长趋势:=3*q3-2*q4;
趋势线:=EMA(q3, 3);
ddm2:= REF(CROSS(趋势线,长趋势),82) AND 趋势线>1.3*长趋势;
ddm:=ddm1 OR ddm2;
DRAWTEXT(ddm,HIGH,'大胆买'),colorwhite;