Join our fan page
- Published by:
- Vladimir Karputov
- Views:
- 4545
- Rating:
- Published:
- 2017.03.02 10:01
- Updated:
- 2018.02.15 17:55
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Analysis of bars, if they contain N consecutive bars of the same type.
Author of idea — ... Rick D. ... ., author of MQL5 code — barabashkakvn.
An example of the strategy: find N consecutive bullish bars, the body of each bar is greater than the previous one. This gives a sell signal.
N consecutive bearish bars with the body of which greater than previous, give a buy signal.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/17289

Trading by Moving Average. Checking for sufficiency of funds.

RSI EA - trading based on overbought/oversold zones determined by the iRSI (Relative Strength Index, RSI) indicator.

Pending Buy Limit (BuyLimit) and Sell Limit (SellLimit) orders. Using OnTradeTransaction().

Two iMAs on the current period and one on PERIOD_D1.