• The Forex, Binary Options Forum - welcomes you to our Community!

    DigitalCashPalace Forum is dedicated to discussions about Forex, Binary Options, commodities, stocks related.

    Please take a look around, and feel free to .

Expert Advisor for Vertex FX

Multi Pair Closer Auto Trader is a powerful VertexFX client-side auto trader that monitors the net profit of a currency basket and closes orders when specified profit and maximum loss occurs. This Auto Trader is useful in any trading strategy that involves taking trades in multiple currency pairs simultaneously and exit all of them once when the total profit reaches to profit or loss as per particular predefined amount.

The basic idea behind the Multi Pair Closer auto trader is to keep tracking all the open positions for the number of currency pairs which are set in input parameter WatchedPairs which is also known as Currency Basket. For example, if the WatchedPair input parameter set with three currency pairs i.e. EUR/USD, AUD/JPY, GBP/USD then the auto trader will only monitor the trades opened in these three currencies pairs and will not consider any other open positions from other pairs. When the total profit of all these considered open positions from Currency Basket pairs reaches the profit amount set in the ProfitTarget parameter, the auto trader will close all the open positions for Currency Basket pairs. Similarly, when the total loss of all open positions from Currency Basket pairs reaches the max loss amount set in the MaxLoss parameter, the auto trader will close all the open positions for Currency Basket pairs.

The Auto Trader also has a provision to set the minimum age for an order to be closed by the auto trader through an input parameter MinAge, for example, if the MinAge parameter is set to 60 Sec the Multi Pair Closer will ensure that each order will not be closed for next 60 seconds from the order execution time. After 60 seconds the Multi Pair Closer will keep monitoring the orders and close them either by booking preset profit or loss.
Once the ea is attached on any open chart in the trading terminal, it starts monitoring all the open trades for all the currency pair set in WhatchedPairs parameter and wait till the time specified in MinAge parameters and then execute the order closing mechanism when the predefined Profit or Loss parameters value achieved.

Please make a note that this auto trader does not follow any trend or open any order on its own but to give a well-planned trade exit mechanism for all the pre-opened positions.

https://www.hybridsolutions.com/plugins/client-vtl-plugins/free/multi-pair-closer.htmlSC.png
 

Attachments

  • MultiPairCloser.zip
    3.5 KB · Views: 263
Eugene is an innovative VertexFX client-side Auto Trader based on high probability candlestick patterns.

Eugene Auto Trader employs the concepts of consecutive inside bars to identify high probability entries. An inside bar is a candle whose range lies within the previous candle. The high of the inside candle lies below the high of its previous candle, and the low of the inside candle lies above the low of its previous candle.

In the first step, we identify an inside candle. If the candle is bearish it is termed as black inside the candle, and if it is bullish it is termed as a white inside candle. If the candle preceding the white inside candle is a bullish candle we have a ‘white bird’ trade setup. Likewise, if the candle preceding the black inside candle is a bearish candle we have a ‘blackbird’ trade setup.

Once either a ‘whitebird’ or ‘blackbird’ setup has been identified, we calculate the buy and sell trigger levels respectively. For the ‘whitebird’ setup, the buy level is calculated by subtracting 1/3rd of the open-close range from its close. For the ‘blackbird’ setup, the buy level is calculated by subtracting 1/3rd of the close-low range from its close.

White Bird Buy Level = Close – (Close – Open) / 3
Black Bird Buy Level = Close – (Close – Low) / 3

Similarly, we calculate the sell levels. The ‘whitebird’ sell level is calculated by adding 1/3rd of the high-close rate to its close. For the ‘blackbird’ sell level, 1/3rd of the open-close range is added to its close.

White Bird Sell Level = Close + (High – Close) / 3
Black Bird Sell Level = Close + (Open –Close) / 3


The Auto Trader then tracks whether the buy or sell level is triggered on a tick-by-tick basis. Once either the buy or sell level is triggered, the Auto Trader places a market order in that direction and then actively tracks that order for profit target and stop-loss. There can be only one open position at a given time. Consecutive inside bars exhibit a high probability of narrowing the trading range and then bouncing in the opposite direction. After bullish inside bar (whitebird), we typically see a bearish candle and then the price bounces off in the upward direction. Likewise, after a bearish inside bar (blackbird) is formed, we tend to see a bullish candle, followed by a downward fall.

https://www.hybridsolutions.com/plugins/client-vtl-plugins/free/eugene.html
 

Attachments

  • SC.png
    SC.png
    185.9 KB · Views: 257
  • Eugene.zip
    2.8 KB · Views: 253
Bar Timer indicator is a handy VertexFX indicator that displays the elapsed time of the current candle as a percentage.

Bar Timer indicator identifies the time-frame of the chart on which it is attached. Then calculates the duration of the candle of the chart time-frame in seconds. Next, it detects the number of seconds that have elapsed in the current candle. This is achieved by subtracting the current server time from the opening time of the current candle.
For example, if the indicator is attached to a 15-minute chart, the duration of each candle is 900 seconds (15 minutes multiplied by 60 seconds per minute). The opening time of the latest candle is retrieved and subtracted from the current server time. For example, if the current server time is 10:07:32, and the opening time of the current candle is 10:00:00, then 452 seconds (7 multiplied by 60 plus 32) have elapsed for the current candle. Finally, this is divided by the duration of the candle and expressed as a percentage. So the indicator displays 50.22% (452 divided by 900).

This indicator ensures that the trader is aware of the time remaining before the closing of the current candle and can manage their trading positions accordingly. It is observed that a large number of traders who trade enter and exit trades manually do so at the close of the candle. By attaching this indicator to the chart, the trader is now aware of the amount of time left before the close of the candle and can take decisions accordingly.

The indicator also provides a simple tutorial illustrating the ease of programming chart objects using the VertexFX Trading Language (VTL). The indicator uses the LABEL and RECTANGLE graphic objects and demonstrates how to create these two chart objects, set their positions and sizes, and properties like color, font name, and font size.

The user can configure the font-size, and the location of the output using the FSIZE, XDISTANCE and YDISTANCE input parameters respectively.

https://www.hybridsolutions.com/plugins/client-vtl-plugins/free/bar-timer.html
 

Attachments

  • BarTimer.zip
    1.8 KB · Views: 255
  • SC.png
    SC.png
    152.8 KB · Views: 243
EURUSD Auto Trader is an innovative VertexFX client-side Auto Trader based on price deviation from the Simple Moving Average.

The concept behind the EURUSD Auto Trader is that price reverses within a band near the Simple Moving Average most of the time. It is specially designed for the EUR/USD currency symbol and has a high probability of success on the 15-minute chart.

In the first step, we calculate the Simple Moving Average (SMA) of the typical price over the MA_VALUE period on a 15-minute chart. The typical price is represented as the mean of High, Low and Close prices.

In the second step, we calculate the Average True Range (ATR) over the recent 200 candles on the 1-hour chart. The ATR band provides the range of price deviation and when the price deviation is far away from the SMA the probability of price reversal is very high.
When the price is above the SMA but below the buffer band from the SMA and the Average True Range is within the specified threshold of 40 points, a SHORT order is placed. The stop-loss and take-profit are set according to the STOP_LOSS and TAKE_PROFIT parameters respectively. The Auto Trader employs position averaging (Martingale) techniques to increase profitability. But at the same time in order to avoid the risk of ruin, the lot-size of subsequent trades is reduced to conserve margin. Once a SHORT order is placed, the next SHORT order is placed only when the SHORT signal condition is met and the current price is at least FILTER points above the previous order entry price.

The rule for placing BUY orders is exactly the opposite. A BUY order is placed when the current price is below the SMA but above the buffer from the SMA and the ATR is within 40 points. Subsequent BUY orders are placed when the BUY signal condition is met and the price is at least SIGNAL points below the previous BUY order.

BUY and SHORT orders can co-exist at the same time. Additionally, the stop-loss and take-profit of each order is tracked separately. This ensures that profitable trades are closed and the margin is released for subsequent use. The objective of the strategy is to trade price reversals. If a price reversal does not happen after opening the trade, further orders in the same direction are opened when the conditions are met. As a result, when a reversal occurs the profitable positions get closed first. One of the advantages of the EURUSD Auto Trader is that since both LONG and SHORT positions co-exist, if price moves in one direction, say upwards the LONG positions become profitable even though the SHORT positions are in loss. The LONG positions are closed at profit, and new SHORT positions are added. When the price eventually reverses downwards, the SHORT positions become profitable and are closed.

The EURUSD Auto Trader employs conservative risk management using a fixed percentage risk of the account balance. This ensures that under adverse market conditions the drawdowns are limited and the account does not blow up.

Configurable Inputs

1.BUFFER– The minimum distance in points between the price and the Simple Moving Average for entry trigger.

2.STOP_LOSS– The stop loss of each trade in points.

3.TAKE_PROFIT– The profit target of each in points.

4.FILTER– The threshold value in points used to eliminate the noise signals and enter additional position.

5.MA_VALUE– The period used to calculate the Simple Moving Average.

6.Z– The percentage risk per trade of the total account balance. It is used to calculate the lot-size of the trade.

https://www.hybridsolutions.com/plugins/client-vtl-plugins/free/eurusd.html
 
EURUSD Auto Trader is an innovative VertexFX client-side Auto Trader based on price deviation from the Simple Moving Average.

The concept behind the EURUSD Auto Trader is that price reverses within a band near the Simple Moving Average most of the time. It is specially designed for the EUR/USD currency symbol and has a high probability of success on the 15-minute chart.

In the first step, we calculate the Simple Moving Average (SMA) of the typical price over the MA_VALUE period on a 15-minute chart. The typical price is represented as the mean of High, Low and Close prices.

In the second step, we calculate the Average True Range (ATR) over the recent 200 candles on the 1-hour chart. The ATR band provides the range of price deviation and when the price deviation is far away from the SMA the probability of price reversal is very high.
When the price is above the SMA but below the buffer band from the SMA and the Average True Range is within the specified threshold of 40 points, a SHORT order is placed. The stop-loss and take-profit are set according to the STOP_LOSS and TAKE_PROFIT parameters respectively. The Auto Trader employs position averaging (Martingale) techniques to increase profitability. But at the same time in order to avoid the risk of ruin, the lot-size of subsequent trades is reduced to conserve margin. Once a SHORT order is placed, the next SHORT order is placed only when the SHORT signal condition is met and the current price is at least FILTER points above the previous order entry price.

The rule for placing BUY orders is exactly the opposite. A BUY order is placed when the current price is below the SMA but above the buffer from the SMA and the ATR is within 40 points. Subsequent BUY orders are placed when the BUY signal condition is met and the price is at least SIGNAL points below the previous BUY order.

BUY and SHORT orders can co-exist at the same time. Additionally, the stop-loss and take-profit of each order is tracked separately. This ensures that profitable trades are closed and the margin is released for subsequent use. The objective of the strategy is to trade price reversals. If a price reversal does not happen after opening the trade, further orders in the same direction are opened when the conditions are met. As a result, when a reversal occurs the profitable positions get closed first. One of the advantages of the EURUSD Auto Trader is that since both LONG and SHORT positions co-exist, if price moves in one direction, say upwards the LONG positions become profitable even though the SHORT positions are in loss. The LONG positions are closed at profit, and new SHORT positions are added. When the price eventually reverses downwards, the SHORT positions become profitable and are closed.

The EURUSD Auto Trader employs conservative risk management using a fixed percentage risk of the account balance. This ensures that under adverse market conditions the drawdowns are limited and the account does not blow up.

Configurable Inputs

1.BUFFER– The minimum distance in points between the price and the Simple Moving Average for entry trigger.

2.STOP_LOSS– The stop loss of each trade in points.

3.TAKE_PROFIT– The profit target of each in points.

4.FILTER– The threshold value in points used to eliminate the noise signals and enter additional position.

5.MA_VALUE– The period used to calculate the Simple Moving Average.

6.Z– The percentage risk per trade of the total account balance. It is used to calculate the lot-size of the trade.

https://www.hybridsolutions.com/plugins/client-vtl-plugins/free/eurusd.html
 
Navel EMA indicator is an innovative VertexFX Client-side Auto Trader that identifies trend reversals.

Traditional Exponential Moving Averages (EMA) are useful in identifying new trend breakouts. However, one of the major drawbacks of EMA is that they tend to generate many false signals resulting in whipsaw trades and losses. The Navel EMA attempts to overcome this drawback by employing a better smoothing filter.
Unlike traditional EMAs, Navel EMA uses all prices – Open, High, Low and Close.

This ensures that weightage is given to all price fields, especially to the Open price. In the first step, we calculate
the Navel price, which is,

Navel Price = ( Close + 5 x Open + 2 x High + Low ) / 9

It can be observed here that the Open price has a weightage of five times that of the Close and Low prices, which High has a weightage of twice that of Close and Low. In the next step, the Smoothing Factor (PR) is calculated as follows,

PR = 2.0 / (MA_PERIOD + 1.0)

Finally, we calculate the Navel EMA using the following formula,

Navel EMA = PR x Navel Price(current) + (1.0 – PR) x Navel EMA(previous)

For the first candle, the Navel EMA is set to Navel Price. By giving a higher weightage to the Open price, the indicator is biased towards strong openings. When the opening of a candle is strong, it tends to continue in the same direction with a very high probability. Using a higher weightage for the Open price also ensures that the indicator can be used profitably for intraday trades because the dependence on the closing price of the candle has lower weightage and therefore the Navel EMA value does not fluctuate during the lifetime of the candle.

SIGNALS:

1. A BUY signal is generated when the Navel EMA starts rising and the candle closing price is below the Navel EMA. It has been observed that waiting for a new Swing Low after the BUY signal has been generated to enter the BUY trade generates better returns. However, the SELL trade should be initiated below the Navel EMA.
The BUY stop-loss can be placed below the nearest Swing Low.

2. A SELL signal is generated when the Navel EMA starts falling and the candle closing price is above the Navel EMA. It has been observed that waiting for a new Swing High after the SELL signal has been generated to enter the SELL trade generates better returns. However, the SELL trade should be above the Navel EMA.
The SELL stop-loss can be placed above the nearest Swing High.

CONFIGURABLE INPUTS:

1.MA_PERIOD– The period used to calculate the Navel EMA.

2.MA_SHIFT – The number of candles to shift the calculated Navel EMA into the future.

https://www.hybridsolutions.com/plugins/client-vtl-plugins/free/navel-ema-.html
 
Sidus is a simplistic VertexFX indicator that identifies trend breakouts based on Moving Averages MAs.


Moving Averages provide valuable insights into the current market trend and the possibility of trend reversals. When two or more Moving Averages are used a powerful trading system can be built based on crossovers of the Moving Average.


Sidus indicator employs four Moving Averages, namely, a) 5-period Linear Weighted Moving Average, b) 8-period Linear Weighted Moving Average, c) 18-period Exponential Moving Average, and, d) 28-period Exponential Moving Average.


These periods represent harmonic integers and therefore can identify trend continuation and trend reversals better than other Moving Average periods. The Sidus indicator uses both Exponential (EMA) and Linear Weighted Moving Averages (LWMA) in-order to ensure that signals are confirmed with both methods. The Exponential Moving Average method responds faster to trend breakouts whereas even though the Linear Weighted Moving Average is slower to respond it eliminates false breakout signals.


SIGNALS:


1) A BUY signal is generated when the 5-period LWMA crosses above the 8-period LWMA by DISTANCE points, or,


2) A BUY signal is generated when 8-period LWMA crosses above the 28-period EMA by DISTANCE points, or


3) A SELL signal is generated when the 5-period LWMA crosses below the 8-period LWMA by DISTANCE points, or,


4) A SELL signal is generated when the 8-period LWMA crosses below the 28-period EMA by DISTANCE points.


The 18-period EMA is not used for identifying signals, but rather as a reference line. For a signal to be valid, the 18-period EMA should be between the 5-period LWMA and the 28-period EMA. This reduces the chances of false breakouts.


Traders can place stop-loss below the nearest Swing Low for BUY signals, or above the nearest Swing High for SELL signals.





https://www.hybridsolutions.com/plugins/client-vtl-plugins/free/sidus.html
 
Sidus is a simplistic VertexFX indicator that identifies trend breakouts based on Moving Averages MAs.


Moving Averages provide valuable insights into the current market trend and the possibility of trend reversals. When two or more Moving Averages are used a powerful trading system can be built based on crossovers of the Moving Average.


Sidus indicator employs four Moving Averages, namely, a) 5-period Linear Weighted Moving Average, b) 8-period Linear Weighted Moving Average, c) 18-period Exponential Moving Average, and, d) 28-period Exponential Moving Average.


These periods represent harmonic integers and therefore can identify trend continuation and trend reversals better than other Moving Average periods. The Sidus indicator uses both Exponential (EMA) and Linear Weighted Moving Averages (LWMA) in-order to ensure that signals are confirmed with both methods. The Exponential Moving Average method responds faster to trend breakouts whereas even though the Linear Weighted Moving Average is slower to respond it eliminates false breakout signals.


SIGNALS:


1) A BUY signal is generated when the 5-period LWMA crosses above the 8-period LWMA by DISTANCE points, or,


2) A BUY signal is generated when 8-period LWMA crosses above the 28-period EMA by DISTANCE points, or


3) A SELL signal is generated when the 5-period LWMA crosses below the 8-period LWMA by DISTANCE points, or,


4) A SELL signal is generated when the 8-period LWMA crosses below the 28-period EMA by DISTANCE points.


The 18-period EMA is not used for identifying signals, but rather as a reference line. For a signal to be valid, the 18-period EMA should be between the 5-period LWMA and the 28-period EMA. This reduces the chances of false breakouts.


Traders can place stop-loss below the nearest Swing Low for BUY signals, or above the nearest Swing High for SELL signals.





https://www.hybridsolutions.com/plugins/client-vtl-plugins/free/sidus.html
 
Pivot indicator is a VertexFX client-side implementation of the widely popular pivot levels indicator. The Pivot indicator is a simple yet powerful tool to identify crucial support, resistance, and breakout price levels.

Pivot indicator provides the core pivot level, also called the anchor point, and three lower support and upper resistance levels. The support and resistance levels are calculated based on the core pivot level and the previous session range. The concept behind pivot levels is that the support and resistance levels form-critical levels where the market sees a struggle between bullish and bearish participants. For example, prices tend to stall from moving upwards at resistance levels as bulls and bears tend to defend those levels. Likewise, prices tend to stall from moving downwards at support levels as bulls and bears tend to defend those levels. It has been observed that volume is higher in most of the cases when prices reach support or resistance levels. When resistance or support levels are broken, most of the time price continues to move towards the next support or resistance level. When resistance is broken, the bulls have overpowered the bears, whereas when support is broken, the bears have overpowered the bulls.

Traders can take advantage when price breaks the support or resistance levels and trade in the direction of the trend.

The formula for calculating the pivot levels is as follows,
Pivot = (High + Low + Close) / 3
R1 = 2 x Pivot – Low
S2 = 2 x Pivot – High
R2 = Pivot + (R1 – S1)
S2 = Pivot – (R1 – S1)
R3 = High + 2 x (Pivot – Low)
S3 = Low – 2 x (High – Pivot)

In the first step, we calculate the base Pivot level, the anchor point, which is the mean of the previous High, Low and Close price. Subsequently, we calculate three support levels below the anchor point and three resistance levels above it respectively.
Traders may also use pivot levels calculated on higher time-frames on the (current) lower time-frames to provide a better perspective of the critical trade levels. For example, when trading on hourly charts, a trader may use daily pivots (calculated from yesterday’s daily range) to identify the support and resistance levels. By using such techniques the trader can get a perspective of both the higher time-frame and the current time-frame to make trading decisions.

SIGNALS:

The pivot indicator does not provide trading signals by itself but should rather be used in conjunction with other technical indicators to identify trade entry and exit points. The most popular technical indicators used in conjunction with pivot levels are Moving Averages and MACD.

Enter a BUY trade when the price crosses above a resistance level with a higher volume. The stop-loss can be set slightly below the previous pivot level. The initial profit target can be set to the next resistance level. Aggressive traders tend to avoid using a profit target but rather employ a trailing or break-even stop at the nearest lower pivot level. This technique ensures higher profits when there is a strong and sustained breakout in the trade direction.

BUY trades can be avoided when the price is below the Moving Averages on the current time-frames and still falling without consolidation. This protects traders from entering false trades.

Enter a SELL trade when the price crosses below a support level with a higher volume. The stop-loss can be set slightly above the previous pivot level. The initial profit target can be set to the next support level. Many aggressive traders avoid using a profit target but rather employ a trailing or break-even stop at the nearest upper pivot level. This technique ensures higher profits when there is a strong and sustained breakout in the trade direction.
SELL trades can be avoided when the price is above the Moving Averages on the current time-frames and still rising without consolidation. This protects traders from entering false trades.

https://www.hybridsolutions.com/plugins/client-vtl-plugins/free/pivot.html
 
CloseAllPositions is an innovative VertexFX client-side Auto Trader for money and position management.

As part of money and position management, traders employ various techniques like lot-sizing, risk per position, stop-loss, profit target, breakeven stops, and trailing stops. When opening a position, the trader can specify the amount of risk he wishes to take by choosing the lot-size based on the stop-loss of the position. This ensures that conservative risk management is followed and the account does not face severe loss on a single position. Likewise, when the position is in profit, the trader may employ a break-even and/or a trailing stop-loss to protect his profit. By employing break-even and trailing stop-loss, when the price reverses direction, the position is closed in minimal profit and does not incur any loss.

However, one of the drawbacks of the above methods is that is these techniques are applicable only for individual positions and not for the trading account as a whole. Most professional traders trade in multiple instruments and typically have multiple positions open.
For example, if a trader has an objective of making a daily profit of X$ from all his positions, he does not have access to a portfolio level tool or an Auto Trader to achieve this objective. In order to accomplish this, the trader has to manually watch the net profit of the account. When his net profit target of X$ is reached, he has to manually close each individual position. This can be a cumbersome task and prone to mistakes especially when a significant number of positions are open. Additionally, due to the amount of time required to close each position manually, the slippage can increase due to price variation and reduce his profits.

CloseAllPositions auto trader provides this functionality to automatically close all open positions when the profit level is achieved.

CloseAllPositions tracks the net profit (or loss) of all the open positions in the current account. When the open net profit reaches the specified PROFIT amount value, all the open positions in the account are closed by the expert advisor. By running the CloseAllPositions expert advisor, the trader does not have to manually track open positions or keep checking the current net profit. When the desired profit target for the account is reached, the expert advisor automatically closes all the open positions.

Since all the positions are closed programmatically (through VTL code), the process is faster, very unlikely to be error-prone, and with negligible slippages.

The CloseAllPositions Auto Trader runs in the background and frees the trader from manually tracking his positions this boosting the trader's productivity.

https://www.hybridsolutions.com/plugins/client-vtl-plugins/free/close-all-positions.html
 
Top