Anyone seen this problem

Post Reply
User avatar
c1borg
Trader
Posts: 456
Joined: Sun Aug 14, 2016 5:09 pm

Anyone seen this problem

Post by c1borg »

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.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Anyone seen this problem

Post by SteveHopwood »

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:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
c1borg
Trader
Posts: 456
Joined: Sun Aug 14, 2016 5:09 pm

Anyone seen this problem

Post by c1borg »

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:
Post Reply

Return to “Coders Hangout”