Thanks,
that would eplain it, didn't know that!
Thanks,
that would eplain it, didn't know that!
Hi,
I have coded the following EA (1min timeframe) where the pending orders should expire after 5 min.
https://fxdreema.com/shared/aCKWkHSEb
But it doesn't work...the pending order expire only after 12 mins. If I set the time to 15 or 50 min for example, the expiration works correctly.
Has anyone a clue why the short expiration time is not working?
Settings 5mins - not working
see attached picture
Setting 15mins - working
see attached picture
thanks
mcfotos
......
15 min Exp.JPG
5 min Exp.JPG
Hi,
I want to create a simple EA where the EMA100 is divided by the EMA200. When the resulting value crosses below a certain value, the EA should by at next bar open and exit the trade after 360 minutes.
I created the following code but it somehow doesn't generate a trade when I put it to "x<" in the condition but only when it is put to "<".
I don't understand this. Can anyone help please?
I thought I need the first time filter since I want the SMA only calculated from values of the set timeframe. Meaning that the first value into calcaluting the SMA is that from 09:00h and the value before that is that from 17:30h of the prior day (and so on).
So I don't want to use all the values between 17:30 and 9:00h in order to get an SMA based on cash index timeframe and not on futures timeframe.
And the second timefilter is then used to only allow trades if they pass the conditions (sma > sma[1] and close> sma) based on the first timefilter.
I tried to code now the solution I'm thiniking of:
-calculate SMA filter only from values between 9:00 and 17:30h local time (cash index time) - i.e. values from <17:30h and <9:00h should not be included into the calculation of the SMA in order to get a SMA values similiar to a SMA of cash index and not future index (8:00 -22:30h)
-place an pending order at open 15:30h at low of candle shift 1 (with offset 10 pips) if no trade is running
link of the project:
https://fxdreema.com/shared/isrc7punc
is that code correct?
in a backtest it doesn't seem to work correct.
Is it correct that I have to settime to server time in the backtest because the backtest only uses the candle times, ie. server time?
thanks
thanks
Yes you are right, but how to I "code" setting an pending order on the open of a candle at a specific time, lets says the candle of 10:30:00 of the timeframe 30min?
I don't get it worked...
Hi,
unfortunatly I'm still trying to set up an EA that sets a pending order at the high of the current bar on a specific time, lets say 16:39:55 local time independent of the time activating the EA and independent of a tick.
But I don't get it. I would be glad if anybody could help me an excample on how to do it?
Many Thanks in advance for any help!
soory for this maybe to easy/ stupid question...but how do I build and SMA with fxdreema?
Hi,
I would like to see and work on my charts only the timeframe of the Cash Indices, i.e. for the Dax only from 09:00h till 17:35h. A moving average for example should only be calculated than based on this timeframe and not the Future Indices timeframe.
If it is easier, than only the calculation of the moving average would sufficient as my system relies on the mentioned timeframe.
Is that possible to build this with fxdreema?
Thanks
Marc
Thanks for the fast help...exactly what I was looking for!