Spread question in exporting to Metatrader

General discussion about the Tickstory Lite software package.
Post Reply
BeLikeWater
Posts: 22
Joined: Mon Nov 24, 2014 12:31 pm

Spread question in exporting to Metatrader

Post by BeLikeWater »

Dear Support

The current version of MT4 allow us to select the spread for the backtesting, we can use "Current" or we can select the spread we want 2, 5, 10 etc.....

My question is:

Regarding this windown of the program: http://screencast.com/t/yxnPvqqofb that shows the characteristics of our mt4 terminal if we configure it (I didnt yet in the screen i passed). Should the backtest always pick the spread we have in this windows independently or the one we select in our mt4 terminal?

Greetings

Belikewater

tickstory
Posts: 4900
Joined: Sun Jan 06, 2013 12:27 am

Re: Spread question in exporting to Metatrader

Post by tickstory »

Hi BeLikeWater,

You need to set the spread in the Tickstory MT4 Info window - the settings in Metatrader will have no effect once you launch MT4 via Tickstory. You can double-check the spread value by inserting the following code into your EA:

Code: Select all

Print("Spread is: " + DoubleToStr(MarketInfo(Symbol(),MODE_SPREAD), 2));
Regards.

BeLikeWater
Posts: 22
Joined: Mon Nov 24, 2014 12:31 pm

Re: Spread question in exporting to Metatrader

Post by BeLikeWater »

Dear Support

Thank you very much.

Greetings

Belikewater

Post Reply