your logic says to buy or sell a pending order once per bar. yes, its going to trade a lot!
https://fxdreema.com/instructions/builder/builder-basic-rules
this will help you, I suggest thoroughly going through it.
your logic says to buy or sell a pending order once per bar. yes, its going to trade a lot!
https://fxdreema.com/instructions/builder/builder-basic-rules
this will help you, I suggest thoroughly going through it.
It is more than likely a problem with your method to how you perform your file saving, naming, and reloading of the newly edited advisors.
To start, you should be closing your MetaTrader platform in between each time you load a new EA, or make a save to the one you are currently using.
Also, with every edit of the EA, you should be making it a new name.
@mohamed80 I was asking, to offer to see if you wanted to learn more fast paced, instead of through a forum with hours or days of response time in between.

wasn able to get it to show the channels either.
only way to help is if you post project
@ozzkamana put it under once per bar time filter.
its easier to first remove everything off of variable and constant and see how they work straight forward. Like many coders who don't trade, they often build complex EA's of things they dont understand and then try to use it when in fact the problem could be in their logic.
Its easier in the beginning when learning to do straight pips so you know what values to expect, without having to rely on whether or not you also coded something correctly.
i dont mean to be rude, but do you think that simple MA crossovers are going to provide a working EA?
I know a guy that can code well but can't trade for sh*t. He can create grid systems and recovery systems better than anyone I've seen. But he too applies them to something simple like RSI and they blow up each time...lol.
I just hope your strategy is more robust and you're saving that piece of your blocks elsewhere in the real strategy.
if you want someones help with custom indis, it would be best to provide a link to the indi for download as well
@jpsam share your current project for the best help we can give!
please provide project link for best help.
Also, you should learn how to do variables and constants. Computers are infinitely smarter than us and can change all those parameters for you if you place them as variables and/or constants.
your time frame selection isnt the way id do it. Not sure what youre trying to do with this whole EA or a custom indi.
But type on a time should be: ENUM_TIMEFRAMES
Name = "Enter your Constant name"
Value = PERIOD_CURRENT
@zackry Mr Dreema doesn't come around much to tame this FXDreema beast its becoming. haha
@mohamed80 I would suggest not reinventing the wheel and manually place a stop or limit order. If youre manually creating a line anyways, why take the time to code it?
some people use several time frames for their EA. Use an indi on a 1H for "trend" and then enter using candle on a 15m. for example.
@jstap there are other ways to pull info from indi's that dont have those buffers, but I forgot. I wasn't paying attention when the guy taught me because I wasn't concerned with indi's haha
@emreizmir if it only works on demo, then your backtesting is not sufficient. Id suggest YouTube education, or @l-andorrĂ has a service that he teaches people
ive seen that issue a few times lately.
and yes, the 2nd condition you have with the ADX says it will buy every time ADX is over or = to 20.
Connect your 2 conditions in line and then remove the AND as suggested above