Join our fan page
Two PerBar - expert for MetaTrader 5
- Published by:
- Vladimir Karputov
- Views:
- 4579
- Rating:
- Published:
- 2018.12.18 19:19
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The author of the idea - Scriptor
mq5 code author - barabashkakvn
The Expert Advisor is designed to work only on hedge accounts: it opens BUY and SELL positions at once.
Inputs:
- Lots - position volume if there are no open positions at the moment
- Lots coefficient - position increase ratio if there are open positions at the moment
- Lots max - maximum volume limitation
- Take Profit (in points) - take profit set in points
- magic number - unique EA identifier
Example of "points":
When a new bar appears, the EA closes positions and opens BUY and SELL ones simultaneously. The expectation is that within the bar, one of the positions will close by take profit and the trend will reverse a little.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/22465
Working with pending Buy Stop and Sell Stop orders. The Expert Advisor is based on iCCI (Commodity Channel Index, CCI) indicator
Exp_Hans_Indicator_Cloud_SystemThe trading system based on the signals of the Hans_Indicator_Cloud_System indicator
Expert Advisor based on iRSI (RSI) and iMA (Moving Average, MA).
TimeZonePivotsOpenSystem_AlertThe indicator of expanding time zone corridors with the background color filling and the channel TimeZonePivotsOpenSystem average line. The indicator provides alerts, sends email and push notifications when the formed corridor expansion is broken.