Australian (ASX) Stock Market Forum

Reply to thread

The code should look more like this:


Buy =     Ref(  Close  , -1 ) < Ref(  Open  , -1 )

    AND Ref(  Close  , -1 ) == Ref(  Low  , -1 )

    AND Ref(  Close  , -1 )   >  EMA( Close , 20 )

    AND Close   > Ref(  High  , -1 );


Sell =     Close   < Ref(  Low  , -1 );


What you had there was the back test settings of the code, not entry/exit signals.


How about we try to do a narrative on Motorways idea?


you need to specifiy any conditions etc..then describe what you want...


Lets go with something simple...i'll code up OOPs or something and tack on that Chandelier exit...maybe i'll get that done tonite...who knows...


Cheers,


Top