Join our fan page
- Views:
- 4402
- Rating:
- Published:
- 2017.05.29 15:51
- Updated:
- 2018.02.27 13:15
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Analyzes bars whose opening time (hour and minute) is equal to the current bar opening time. Lit increase, if the previous trade was closed with a loss. Closing (forced) on a new bar.
Lot increased in OnTradeTransaction — the EA catches deals with the "market exit type". If the deal is profitable, the initial lot value is used (the "Lots" parameter). If the deal is losing, the lot is increased.
Stop Loss. OnTradeTransaction.
Inputs:
- Min Candle Height ("0" -> the parameter is disabled)
- Lots
- Stop Loss (in pips)
- Days of History
The EA searches for "Days of History" number of days. If the size of the found bullish bars exceeds the size of the found bearish bars, we open a Buy position. If opposite, open Sell.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/18164

This is a trend trading system based on the signals of two Kolier_SuperTrend indicators.

Many traders are interested in native work with the BTC-e exchange directly from MetaTrader. In the exchange API, it is necessary to send data with the confirmation of parameters validity through HMAC-SHA512. The algorithm of SHA512 and HMAC calculation is implemented in this class.

Two colored filled rectangles with the display of channel levels. The rectangles are drawn between the values of two Bollinger channels on one bar of any timeframe of the XMA_BBx5_Cloud indicator.

Two Keltner channels based on one moving average, drawn as a colored cloud, with the display of the last values as price labels.