I think Gold is 10 as apposed to 1 for other pairs...
For example: The Spread for EURUSD can be 1 whereas on Gold it will be 10....
Hope that helps*
I think Gold is 10 as apposed to 1 for other pairs...
For example: The Spread for EURUSD can be 1 whereas on Gold it will be 10....
Hope that helps*
Hi All* - I have searched the forum but cannot find this particular issue:
How do I code an enum to display '15min, 30min, 1hr, etc...' in the drop down menu...?
Also it won't compile the 'Off' option because 'Off' has already been used in a previous enum... *



Just can NOT figure it out... 
@l-andorrร - Thanks for your reply. The pink line is actually drawn in the future. It's just the price has already passed it in the photo....
But anyway, I think I got it to work. It just doesn't seem to work too well in the Tester and I think there was a gap in the candles when I was testing it*
Hello All*
Once again I've been at this for hours!
The EA is drawing the Lines in the future as I want it, but how do I get the EA to recognise when it reaches the Line??
It should not be placing trades between the Pink and the Green Lines...
Please Help!
https://fxdreema.com/shared/rBE9OBhmb

I'll keep an eye out too...But yes, we need to know what the strategies are before we can code them*
You would have to duplicate your Blocks and use different Group Numbers for each strategy used....*
You could also used the Comment section in the Buy/Sell Blocks to see which strategy is placing the trades*
In the 'For Each Trade' block there is an option 'Every "n" Trade'.....
Perhaps have a play around with that*
Perhaps try a combo of the Once a Day and Once Per Trades blocks....?
On Trade tab> Trade/Order Closed> Close all orders....*
Thanks jstap for always replying....
I believe I may have almost solved it....Just hours of trial and error....as you can relate to 
@jstap said in '::' - comma expected - Pt 2*:
Another thing enum's need to be above where you use them, you have this correct but in case I put them at the top of the list. It is so that when added to the terminal the enum lists are loaded before they are used.
Ok...I might try putting all the enum's at the top and see if that makes a difference....
Also, I've tried with no space after comma...Same result...
Thanks again for replying*
Thanks for the reply....But I want the words Fixed and Percentage in the drop down menu....
Strange thing is it was working before, and then I changed something and now it's not 
Ok. I've been at this for hours!!
I'm trying to compile my EA but keep getting the '::' - comma expected' error msg between Fixed and Percentage...
But there IS a comma there...!
So what am I missing....!?

Yes that seems to be what happens. So when you have trades open, the Equity is constantly changing....
So it's not perfect and it's still pretty ugly, but yes your code does seem to work...
Regards*
It didn't work for Equity....It just happened to be that way. If a trade were to open Equity would print 10 decimal places too.... :.)
Must be a way coz as I said, BossMan Dreema did it when he coded the Comment Block....
Appreciate the help....*
@jstap said in Rounding Account Balance*:
Not sure exactly what you need, but this would do it:


Well I can try that thanks....
So we're not even using the Formula Block then....*
Do you mean a block to recognise when there's been a hammer candle printed...?
There's a few free custom indicators out there which will highlight hammer candles which you can then add into your indicators list in your builder....
Regards*