Join our fan page
- Views:
- 6350
- Rating:
- Published:
- 2021.09.26 20:48
- Updated:
- 2022.01.08 22:13
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
This free code manages to close all open positions complying with FIFO rules just by drag and drop into the chart, no matter if profit or loss.
Must enable autotrading.

This is MQL5 version of Shved Supply and Demand indicator written by Shved and upgraded by eevviill7 from this link. Subsequently Mr. Behzad Movaghar added other functionalities to this link. This version of the Indicator contains the Code with an option to select the time frame of the Indicator other than that of the chart. For example if the chart is in 5M and the user want to see the support and Resistance levels of a particular chart pair at 15 M, is possible with this.

Check exists pending order prevent duplicate create pending order

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

This code use close all profit at end of week for currency pair