Changes in included MACD-Sample

Sep 08, 2013 at 05:11
465Lượt xem
1 Replies
Joergg
forex_trader_147370
Tham gia từ Sep 01, 2013   1bài viết
Sep 08, 2013 at 05:11
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
Tham gia từ Jul 17, 2012   275bài viết
Sep 08, 2013 at 09:28
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.
Past experience usually helps present self
Đăng nhập / Đăng ký to comment
You must be connected to Myfxbook in order to leave a comment
*Nghiêm cấm sử dụng cho mục đích thương mại và spam, nếu vi phạm có thể dẫn đến việc chấm dứt tài khoản.
Mẹo: Đăng ảnh/url youtube sẽ tự động được nhúng vào bài viết của bạn!
Mẹo: Dùng @ để tự động điền tên người dùng tham gia vào cuộc thảo luận này.