Edit Your Comment
Changes in included MACD-Sample

forex_trader_147370
Sep 01, 2013 zamanından beri üye
1 iletiler
Sep 08, 2013 at 05:11
Sep 01, 2013 zamanından beri üye
1 iletiler
Hello,
can you please tell me why I can change the settings for the MACD-Sample EA but in the programm code the variables are constantly set to a fix setting?
For example: I change the tp from 50 to 100 but the Code still sets:
extern double TakeProfit = 50;
Does it matter, that I change the tp to 100 in the settings?
Thanx
Jörg from Germany
can you please tell me why I can change the settings for the MACD-Sample EA but in the programm code the variables are constantly set to a fix setting?
For example: I change the tp from 50 to 100 but the Code still sets:
extern double TakeProfit = 50;
Does it matter, that I change the tp to 100 in the settings?
Thanx
Jörg from Germany
Jul 17, 2012 zamanından beri üye
274 iletiler
Sep 08, 2013 at 09:28
Jul 17, 2012 zamanından beri üye
274 iletiler
extern double TakeProfit = 50; <-- defaults
extern double TakeProfit = 100; <-- will be new defaults
compile and attach. remove the old one that are attached if any.
extern double TakeProfit = 100; <-- will be new defaults
compile and attach. remove the old one that are attached if any.
Past experience usually helps present self

*Ticari kullanım ve istenmeyen e-postalara müsamaha gösterilmez ve hesabın feshedilmesine neden olabilir.
İpucu: Bir resim/youtube urlsi yayınlamak, onu otomatik olarak gönderinize gömer!
İpucu: Bu tartışmaya katılan bir kullanıcı adını otomatik olarak tamamlamak için @ işaretini yazın.