- MONEY MAKING manual trading system
- Modify historical data using historical files
- how to trade eurusd and usdchf in one expertadvisor ?
I am trying to overlay USDCHF data on EURUSD chart. It works fine on a demo account but the same indicator fails to come up on a live account. Can anyone explain ?
I am trying to overlay USDCHF data on EURUSD chart. It works fine on a demo account but the same indicator fails to come up on a live account. Can anyone explain ?
Ask your Broker, you pay their Spread, let them give you some customer support.
I'm not sure if this works, try to open USDCHF chart so the MT download the data.
I have tried doing this but nope it doesnt work. Their is a functionin the indicator to calculate
iHighest( SubSymbol, Timeframe, MODE_HIGH, _BarsCount, _LastBar ) which fails and returns a -1 always. On a EURUSD chart the SubSymbol is a USDCHF.
I have tried doing this but nope it doesnt work. Their is a functionin the indicator to calculate
iHighest( SubSymbol, Timeframe, MODE_HIGH, _BarsCount, _LastBar ) which fails and returns a -1 always. On a EURUSD chart the SubSymbol is a USDCHF.
You probably have the incorrect name for the symbol . . . it could very easily be different between Live and Demo accounts . . . . what did your Broker say ?
Nope, I have checked the symbol names are the same. i havent spoken to the broker yet. Just thinking how could broker stop the data from being sent.
Nope, I have checked the symbol names are the same. i havent spoken to the broker yet. Just thinking how could broker stop the data from being sent.
If you can open a chart with the symbol you are trying to get the Highest for between the bar numbers you are looking at then the Broker is sending the data . . . what are the values of SubSymbol, Timeframe, _BarsCount, _LastBar ? did you Print them ?
Raptor, I got the issue solved. It was the Symbol that was different between the Demo and Live. Thank you very much. Somehow my indicator didnt show me the updated value when I was testing it.
Anyways thanks a lot for getting my problem solved.
Raptor, I got the issue solved. It was the Symbol that was different between the Demo and Live. Thank you very much. Somehow my indicator didnt show me the updated value when I was testing it.
Anyways thanks a lot for getting my problem solved.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use