Join our fan page
VR Breakdown level - Trading strategy based on a breakout of the previous High or Low - expert for MetaTrader 4
- Views:
- 90
- Rating:
- Published:
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
VR Breakdown Level - A simple trading strategy based on breaking previous High or Low levels. The period for calculating the levels is selected by the user in the trading robot's settings.
Strategy Logic:
At the start of a new trading period (selected by the user in the settings), the trading robot records the High and Low prices of the previous period. Then, if the price reaches one of these levels, a position is opened in the direction of that level. In other words, if the price rises and exceeds the previous High, the trading robot buys the financial instrument with a volume specified by the user in the settings. A Stop Loss and Take Profit are set for all open positions (as defined by the user in the settings). Positions are closed only by Stop Loss or Take Profit.
A similar strategy can be implemented using pending orders such as BUY STOP and SELL STOP. The difference is that with pending orders, we need to delete the opposite pending order in a timely manner. Placing pending orders signals to the broker at which price levels we intend to enter the market. Using "internal" levels hides this information from the broker.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/69562
VR Locker Lite - Trading strategy based on a positive lock
Works using a positive lock; the trading robot creates one positive lock, and the trader decides what to do with it.
Trading strategy Heads or Tails
The classic version of the Heads or Tails trading strategy with the analysis of the signal block code.
Three Colors
Example: Moving Average indicator filling by different colors
MACD Sample
Classical MACD Sample.
