Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 12/1/2010(UTC) Posts: 6 Location: NSW, Australia
|
Hi Wabbit, The ticker symbol is 'LNC.ASX' and my code is as follows: Code:Buy Order
---------
Alert(Cross(Mov(CLOSE, 2, E), Mov(CLOSE, 20, S)), 3)
AND
ROC(CLOSE, 90, $) > 0
AND
OscP(2, 15, S, %) > 0
AND
OscP(2, 15, S, %) > Ref(OscP(2, 15, S, %), -1)
AND
Mov(CLOSE, 20, S) >= Ref(Mov(CLOSE, 20, S), -1)
Sell Order
----------
CLOSE >= ValueWhen(1, Simulation.CurrentPositionAge = 0, OPEN) * 1.03
OR
OscP(2, 15, S, %) < Ref(OscP(2, 15, S, %), -1)
OR
CLOSE <= ValueWhen(1, Simulation.CurrentPositionAge = 0, OPEN) * 0.985
Sell Short Order
----------------
Alert(Cross(Mov(CLOSE, 20, S), Mov(CLOSE, 2, E)), 3)
AND
ROC(CLOSE, 90, $) < 0
AND
OscP(2, 15, S, %) < 0
AND
OscP(2, 15, S, %) < Ref(OscP(2, 15, S, %), -1)
AND
Mov(CLOSE, 20, S) <= Ref(Mov(CLOSE, 20, S), -1)
Buy To Cover Order
------------------
CLOSE <= ValueWhen(1, Simulation.CurrentPositionAge = 0, OPEN) * 0.97
OR
OscP(2, 15, S, %) > Ref(OscP(2, 15, S, %), -1)
OR
CLOSE >= ValueWhen(1, Simulation.CurrentPositionAge = 0, OPEN) * 1.015
|