stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Anyone seen this problem
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=6082
Page 1 of 1
Author:  c1borg [ Tue Sep 21, 2021 10:20 am ]
Post subject:  Anyone seen this problem

I have an indicator which is working. If I change any input variable it will not work. You can remove it from the chart, recompile it even restart Empty4 and it will not work.

If you copy the uncompiled mq4 filename and rename it it works? So basically it will not allow any changes to variables unless you rename the actual filename. If you use any filename thats been used before it doesnt work.

Any help appreciated.
Author:  SteveHopwood [ Tue Sep 21, 2021 8:06 pm ]
Post subject:  Anyone seen this problem

c1borg ยป Tue Sep 21, 2021 10:20 am wrote:I have an indicator which is working. If I change any input variable it will not work. You can remove it from the chart, recompile it even restart Empty4 and it will not work.

If you copy the uncompiled mq4 filename and rename it it works? So basically it will not allow any changes to variables unless you rename the actual filename. If you use any filename thats been used before it doesnt work.

Any help appreciated.
This is a new one on me. Yet another delight of the Empty4/mql4 combo.

Can you legally post the source code here so that the better coders can have a look?

:xm: :rocket:
Author:  c1borg [ Wed Sep 22, 2021 6:50 am ]
Post subject:  Anyone seen this problem

Solved hopefully it will help others

Code: Select all

extern string   			SymbolFilter          		= "AUDCAD,AUDCHF,AUDJPY,AUDNZD,AUDUSD,CADJPY,CHFJPY,EURAUD,EURCAD,EURCHF,EURGBP,EURJPY,EURNZD,EURUSD,GBPAUD,GBPCAD,GBPCHF,GBPJPY,GBPNZD,GBPUSD,NZDCAD,NZDCHF,NZDJPY,NZDUSD,USDCAD,USDCHF,USDJPY,XAGUSD,XAUUSD,BTCUSD,ETHUSD,UK100,US500,FRA40,GER30,US30,NAS100";
This string between the quotes must not be over 255 characters :hi:
All times are UTC Page 1 of 1