Forum

Running script using CMD

Greetings, I have encounter that I can run script on terminal startup (https://www.metatrader4.com/en/trading-platform/help/service/start_conf_file), but I would like to load the script after startup or is there any way for me to run script using command line? Regards

Different "price" and "target profit" compare to string in file

Greetings I have a script shared among my friends and I, the script which will place order base on value in a text file. The script will read "Price" and "Target Profit" from the text file. Simple as that. The weird thing happens is that one of my friend is having different value compare to the rest

Script folder path

I have couple of questions regarding the installation path for Scripts folder on some of PCs. ‌‌When I install mine, it located at C:‌/Program Files (x86)/<broker> but my friends installed at the C:\Users\User_account_name\AppData\Roaming\MetaQuotes\Terminal\Instance_id W‌ould like to know why is it

Script OrderSend with expiry datetime

Greetings, I am new to this scripting and I'm currently implementing a Order script which helps me to insert orders. My question is on the expiry datetime . I have noticed that at pending orders , I can set the expiry datetime. But when it get into positions, I couldn't modify it. Do the expiry