Join our fan page
- Views:
- 2913
- Rating:
- Published:
- Updated:
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The algorithm of the Expert Advisor is simple: the minimum and maximum price is searched for on the number of bars specified in the input parameters. As soon as one of the current Ask or Bid prices reaches these values, the corresponding position will be opened immediately. The Expert Advisor can open only one long or one short position. In the input parameters of the Expert Advisor there is only one setting - "Number of bars to analyse the price movement".
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/48035
Control_Trade_Sessions
Library for trading session control. At startup it counts the time of trading sessions for all 7 days of the week (on Sat and Sun there can be cryptocurrency trading), up to 10 sessions per day. Then in OnTick() you can do checks, and if a tick came in outside the trading session, you can exit further processing of it.
Grid Master
Overview Grid Master EA is an automated trading system that implements a bidirectional grid strategy. It places multiple pending orders above and below the current market price, capturing profits from market oscillations in both directions.
Simple_Pending_Orders_Time
The Expert Advisor works with pending orders Buy Stop and Sell Stop according to the time specified in its input parameters.
Input_Struct
Structure of input parameters