Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

Close all profit at end of week - expert for MetaTrader 5

Views:
6420
Rating:
(28)
Published:
2021.09.30 11:41
Updated:
2021.11.17 14:24
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Setup hour and minute for check current time and variable if current date is friday this function close all profit for currency pair

    Sample detect economic calendar Sample detect economic calendar

    This code use detect economic calendar and put pending order before released news time

    CloseAll FIFO CloseAll FIFO

    CloseAll script complying FIFO rules.

    SymbolInfo example script Enhancement with margin and leverage data SymbolInfo example script Enhancement with margin and leverage data

    SymbolInfo example script lacks margin and leverage data wich are nowhere to be found explicitely in Metatrader, the trader must search thoroughly into the broker site in order to find them. The aim of this script is to provide a remedy to it from a standard tool.

    Open Pending order After Position Get StopLoss Open Pending order After Position Get StopLoss

    Open Pending order After Position Get StopLoss