Trades not executing when live

Moderator: admin

Trades not executing when live

Postby mikeinvaldosta » Tue Jan 10, 2017 8:20 pm

I have a strategy that works fine in back-testing but fails to execute trades are alerts when applied in Marketscope. I have "allowed trading" set to yes.

Is there a frequent mistake that allows backtesting to work but live trading to fail? I am not receiving any log messages other than "strategy is started".

My strategy does involve a 500 period bar. I thought it may wait for 500 periods prior to kick off as it does in backtesting (although I don't think it should) or 200 bars plus the original 300 that load automatically.

I use a custom indicator that requires the same 500 bars. The indicator will not load until a scroll back to load the additional 200 bars. If the indicator begins to work after scrolling back, why wouldn't the strategy?

Thanks for any assistance!
mikeinvaldosta
 
Posts: 3
Joined: Wed Jan 04, 2017 3:39 pm

Re: Trades not executing when live

Postby Apprentice » Thu Jan 12, 2017 4:18 am

Can you provide / post your code.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Indicator Development

Who is online

Users browsing this forum: No registered users and 12 guests

cron