Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
When you scan the orders collection by the "for" loop, you have to check if the selected order is on the current symbol, otherwize you will quickly do some greek salad...
PHP Code:
for (int i=0; i<OrdersTotal(); i++) {
if (OrderSelect(i, SELECT_BY_POS, MODE_TRADES)) {
if(OrderSymbol()==Symbol()) TrailingPositions();
}
hey guys hows it going
i have a quick question, is there any why of converting an mq4 file into a .DLL file? i need an mq4 indicator in converted into a .DLL indicator in C+ or C. would it be hard for a programmer to write a converter? if not then ill look into hiring a coder.
Hi guys,
Often, when I try to modify a mq4 file with MetaEditor, I get the message “Access is denied” and I cannot modify the file. How do you guys deal with such a problem? Thanks! scardi
Please disregard post. This setting did what I needed it to do. Thanks for begin there to help us.
I have modified an EA to work with several methods. I have done some research but can not figure out how to add the name of the EA to the comments field when opening an order. Can someone please point me in the right direction.
I am hoping there is a simple string command that I can integrate into any EA I modify so that the orders are better organized when running more than one EA during a test.
I am not sure of the logic but can I just input the CommentName in the following location? I have not tested this but it compiles fine.
Code:
if(OrderSend(Symbol(), OP_BUYSTOP, BuyStop_Lot, vA, 3, sl, tp,"CommentName", MagicBuyStop, 0, Green) < 0)
Print("Err (", GetLastError(), ") Open BuyStop Price= ", vA, " SL= ", sl," TP= ", tp);
__________________
Proverbs [James]
Faith in Jesus helps me to see the invisible, believe the incredible and receive the impossible!
He makes all things new in my life.
I want to change the alert type in this code so it will play a wav file that I choose and not have the popup window buy sell thing. Just play wav file when fractal apears.
How should the code be. I have attached the sFractals alert indicator.
I want to change the alert type in this code so it will play a wav file that I choose and not have the popup window buy sell thing. Just play wav file when fractal apears.
How should the code be. I have attached the sFractals alert indicator.