This is a pictorial representation of what I am trying to achieve. Hopefully 
someone will be able to help please. The Bitmap is here: 
http://groups.yahoo.com/group/amibroker/photos/recent/304841756/view

Please enlargen to see text.


> --- In [email protected], "jollypolly999" <jollypolly999@> wrote:
>  
 There is something that I didn't explain in the above scenario. When the 250 
DEMA is above the 250 EMA then one possibility can happen. The lower 250 EMA 
doesn't get breached by the Index day bars so a re-entry signal would not 
occur. To overcome this the code would need to act on the 250 DEMA (i.e. 
enter/exit) if the lower 250 EMA is not breached (Index day bar closes below).

If the lower 250 EMA is breached (Index day bar closes below) then the 250 EMA 
is the ruling trigger for re-entry.



Reply via email to