红买绿卖指标(大智慧)
<p>VAR4:=((HHV(HIGH,9) - CLOSE)/(HHV(HIGH,9) - LLV(LOW,9)))*(100) - 70;<br />VAR5:=((CLOSE - LLV(LOW,60))/(HHV(HIGH,60) - LLV(LOW,60)))*(100);<br />
VAR7:=SMA(((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100),3,1);<br />
VAR8:=LLV(LOW,34);<br />
VARC:=EMA(((((2)*(CLOSE) + HIGH + LOW)/(4) - VAR8)/(HHV(HIGH,34) - VAR8))*(100),8);<br />
VARD:=EMA(VARC,5);<br />
VARE:=((HHV(HIGH,9) - CLOSE)/(HHV(HIGH,9) - LLV(LOW,9)))*(100) - 70;<br />
VAR11:=SMA(((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100),3,1);<br />
VAR12:=SMA(VAR11,3,1) + 100;<br />
VAR13:=VAR12 - SMA(VARE,9,1) + 100;<br />
VAR14:=ZIG(3,13);<br />
建仓:=IF((VARC > 17) and (VARC < 59) and (VARC - VARD >= 0),10,(-10));<br />
猎豹:=IF((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),10,45);<br />
丰收:=IF((VARC > 70) and (VARC - VARD >= 0),77,82);<br />
牛:=IF((VAR13 > 100),VAR13 - 100,0);<br />
顶:=IF((REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),95,55);<br />
风:=IF((VARC - VARD > 0),VARC,VARD);<br />
STICKLINE((REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),CLOSE,OPEN,5,0),Color66FF00;<br />
STICKLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),CLOSE,OPEN,5,0),coloryellow;<br />
DRAWLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),LOW - (LOW)*(0.08),(REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),LOW - (LOW)*(0.05),0),Linethick5,Color070084;<br />
DRAWLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),LOW - (LOW)*(0.08),(REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),LOW - (LOW)*(0.05),0),Linethick4,Color0000A3;<br />
DRAWLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),LOW - (LOW)*(0.08),(REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),LOW - (LOW)*(0.05),0),Linethick3,Color0000B7;<br />
DRAWLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),LOW - (LOW)*(0.08),(REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),LOW - (LOW)*(0.05),0),Linethick2,Color0000CD;<br />
DRAWLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),LOW - (LOW)*(0.08),(REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),LOW - (LOW)*(0.05),0),Linethick1,Color077BF3;<br />
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),ColorFF5B00;<br />
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,4.5,0),ColorFF6C00;<br />
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,4,0),ColorFF7B00;<br />
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3.5,0),ColorFF9C00;<br />
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,2,0),ColorFFBE00;<br />
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,1,0),ColorFFCC00;<br />
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,0.5,0),ColorCCCCCC;<br />
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),Color070084;<br />
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4.5,0),Color0000A3;<br />
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4,0),Color0000B7;<br />
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3.5,0),Color0000CD;<br />
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,2,0),Color0000E9;<br />
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),Color0754E9;<br />
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),Color076EF3;<br />
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,0.5,0),Color077BF3;<br />
STICKLINE((CLOSE > OPEN),OPEN,LOW,0.5,0),Color0726CA;<br />
STICKLINE((CLOSE > OPEN),CLOSE,HIGH,0.5,0),Color0726CA;<br />
STICKLINE((OPEN > CLOSE),CLOSE,LOW,0.5,0),ColorDE9100;<br />
STICKLINE((OPEN > CLOSE),OPEN,HIGH,0.5,0),ColorDE9100;<br />
买:DRAWTEXT((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),LOW - (LOW)*(0.05),'买'),colorred;<br />
卖:DRAWTEXT((REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),LOW - (LOW)*(0.03),'卖'),Color66FF00;<br />
STICKLINE((REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),CLOSE,OPEN,5,0),Color66FF00;<br />
STICKLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),CLOSE,OPEN,5,0),coloryellow;</p>
<p></p>
<p> </p>
页:
[1]