ok, thanks for that information. Based on that, I built this but something isn't working correctly: http://fxdreema.com/shared/aZn6u8Chc
Best posts made by Trader3487
-
RE: Every "n" ticks blockposted in Questions & Answers
Latest posts made by Trader3487
-
RE: Trader3487posted in Questions & Answers
@Andermaiden2nd I want to test with spread 0 to see with my own eyes that the back tester results are, in fact, accurate and that the EA is trading exactly as it is written. An EA that buys and sells each bar with 10pips sl/tp should produce an even balance - neither profit nor loss, correct?
Question is why doesn't setting spread to 0 in MT4 strategy tester give a 0 spread? What broker are you using?
Thank you

-
RE: Trader3487posted in Questions & Answers
for me, setting changing MT4 spread to a lower number like from 10 to 1 decreases the distance between bid and ask lines but setting it to 0 does not make it 0. Any suggestions?
-
RE: Trader3487posted in Questions & Answers
@fxDreema I understand but even with spread set to 0 in MT4, there is still a spread of 1. Using the ea below, are you able to produce a 0 spread and have a horizontal blue balance line?
-
Trader3487posted in Questions & Answers
Hi, I'm still stumped on how to run a backtest with 0 spread. Even when I remove these lines from the void DrawSpreadInfo() function in source code, it still shows a distance of 1pip between bid line and ask line on graph:
if (custom_point > 0) {
current_spread = (SymbolInfoDouble(Symbol(),SYMBOL_ASK)-SymbolInfoDouble(Symbol(),SYMBOL_BID))/custom_point;
}
if (current_spread > max_spread) {max_spread = current_spread;}
if (current_spread < min_spread) {min_spread = current_spread;}I want to run a test where it buys and sells once per bar with 10pips sl/tp so that the trades cancel each other out and the blue line on the graph is perfectly horizontal (currently it goes only downhill to 0 balance).
Thanks!
Screenshot of unchangeable 1pips spread:

Screenshot of downhill slope graph:
https://www.dropbox.com/s/mqk6hvmh3lwzicq/Screenshot 2016-11-23 10.24.30.png?dl=0 -
RE: Trader3487posted in Questions & Answers
Hi, I tried changing that to "0" but it doesn't seem to affect the results. Spread always remains 1.
-
RE: Trader3487posted in Questions & Answers
Is there a way to create a simple EA with spread = 0 that buys when no trade is open, sl/tp = 10pips. I want to see results where the blue balance line stays in the same place after a large # of trades.
I tried editing the function void DrawSpreadInfo() in EA source code and setting current_spread = 0; but it didn't work. Metatrader results still say spread = 1 and blue/green curves are still going downhill.
-
RE: Historical dataposted in General Discussions
What's the best historical data to use for backtesting EAs?
-
RE: Writing EA Name In "Comment" Field Of Tradeposted in Questions & Answers
yes, the comment field of buy now/sell now block is what I was looking for. Thank you very much

-
RE: Writing EA Name In "Comment" Field Of Tradeposted in Questions & Answers
it's a project I'm working on in local version of fxdreema. Which block would I use for that?