Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

Close conditions
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=146&t=57176
Page 1 of 1

Author:  juliuszczaplinski [ Fri 11 Oct, 2019, 22:09 ]
Post subject:  Close conditions

Hi,

i'm newbie, so sorry for some stupid questions. I need a strategy which opens a trade after price cross EMA21, and closes trade after pullback below/above EMA21. Now i've got something like this, based on file from other topic.

I'm trying to set if function with EMA and last bid candle close, but it doesn't work, also trailing step doesn't work - I'm pretty sure, that my mistake is stupid, but I can't find the solution in manual :(

Thanks for your help!

Attachments:
EMA21_3.vfs [38.32 KiB]
Downloaded 187 times

Author:  vadim_berezhnoj [ Mon 14 Oct, 2019, 16:19 ]
Post subject:  Re: Close conditions

Please start from the Manual.

  Page 1 of 1