30 Rules of a Successful Forex Trader
VirtualDay. Creating a Virtual day. Indicator for MetaTrader
Description
The Expert Advisor “Scalper’s Dream” (also known as VirtualSL&TP) was developed in response to a request from a participant on a trading forum.
This custom EA was designed to meet the specific needs of traders looking for a tool that offers virtual Stop Loss and Take Profit, providing added flexibility and precision in scalping strategies.
Attention! A new version of the program is now available with additional functionality!
Introducing Exp – Assistant—a Free Trading Panel that offers virtual and real position tracking for enhanced trading management!
The Expert Advisor sets stop loss and take profit levels invisible to the broker’s server. These levels are placed as close as 1 point from the current price.
Key Features VirtualSL&TP:
- Virtual Stop Loss and Take Profit: The EA places virtual stop loss and take profit levels, which are displayed as lines on the chart but are hidden from the broker. This prevents the broker from manipulating your stops. However, note that in a fast-moving market, there is a higher chance of slippage when closing trades.
- Trailing Stop: The EA also includes a trailing stop feature, which operates at an invisible level for the broker. The trailing stop starts from as low as 1 pip.
Important Notes VirtualSL&TP:
- The EA works only when the terminal is running. Ensure your terminal is active for the EA to function.
- To enable the EA, make sure to check the “Allow EA to trade” option in the settings.
- Automate the system by clicking on the “Advisors” button at the top of the MetaTrader terminal.
- The system does not use a magic number, meaning it will manage trades for a single pair or all pairs you trade manually.
- The core principle is that StopLoss and TakeProfit levels are invisible to the broker.
- Flexible Stop Levels: You can set take profit and stop loss at any distance from the opening price, even 1 point.
- Since the broker (DC) cannot see that positions are being closed by a robot, trades will appear as manual in the MetaTrader system.
Critical Considerations VirtualSL&TP:
- Stop Loss and Spread:
Stop loss cannot be set closer than the current spread level. When opening a position, the trade is placed at a distance from the price equal to the spread. If the stop loss is set too close, the position won’t close correctly. - Multiple Pairs:
If your currency pairs have significantly different stop levels, it’s recommended to assign separate Expert Advisors for each pair to ensure proper functioning.
External variables and settings VirtualSL&TP
Name | Description |
---|---|
OrderToClose | Selection of controlled positions by type of trading operation. 1 – any, 2 – Buy, 3 – Sell. |
MagikToClose | Selection of positions by the name of the trading instrument. If 1, then the adviser, being installed on only one chart, will control all available open positions and all trading instruments. If “0”, then the adviser will control the positions of only the instrument on the chart on which it (the adviser) is installed. In this case, the adviser can be installed on several charts of different trading instruments (symbols). You can also specify the name of a specific trading instrument, for example, “eurusd”. In this case, the adviser will only control the positions of the Eurodollar. Moreover, it does not depend on the chart on which the adviser is installed. |
SymbolToClose | true – enable false – disable Setting an emergency stop loss and take profit in case of a connection failure. This parameter is necessary in case of poor quality of connection with the server or possible power outages. This parameter sets for open positions – emergency stop loss and take profit, so that the DC knows less about the existence of the expert – the levels are given in random order in the range: |
Virtual_TakeProfit | The size of the virtual takeprofit in points. If zero or less than zero, then the TakeProfit price level will not be controlled. |
Virtual_StopLoss | true – enable false – disable Setting an emergency stop loss and take profit in case of a connection failure. This parameter is necessary in case of poor quality of connection with the server or possible power outages. This parameter sets for open positions – emergency stop loss and take profit, so that the DC knows less about the existence of the expert – the levels are given in random order in the range: |
EMERGENCYLEVELSET | true – enable false – disable Setting an emergency stop loss and take profit in case of a connection failure. This parameter is necessary in case of poor-quality of connection with the server or possible power outages. This parameter sets for open positions – emergency stop loss and take profit, so that the DC knows less about the existence of the expert – the levels are given in random order in the range: |
emergencyTPmin | Minimum stop level range for TP |
emergencyTPmax | Maximum stop level range for TP |
emergencySLmin | Minimum stop level range for SL |
emergencySLmax | Maximum stop level range for SL |
TrailingStop | virtual trailing stop size. in points |
ProFitOrderOnly | the possibility of a virtual trailing stop to work only for positions with a positive profit (pipsing mode). |
InfoVTSS | display information stored in memory buffers to analyze the results. |
Video
Questions VirtualSL&TP?
If you have any questions, please ask them. We do not sell the pig in a poke.
And each of our products can be checked before the purchase.
We appreciate your attitude and wishes for our products and try to keep the quality standard high.
Thank you for being with us!
Do you have a question?
This post is also available in: English Українська Portuguese Español Deutsch Chinese Русский Français Italiano Türkçe 日本語 한국어
Leave a Reply