Expert Advisor for VertexFX

This is a discussion on Expert Advisor for VertexFX within the Trading Software forums, part of the Commercial category; The Lacus T Stop & BE Expert Advisor is a handy VertexFX client-side script to manage open positions. This Expert ...

Reply
 
LinkBack Thread Tools Search this Thread
Old Nov 3, 2016, 8:00am   #16
Joined May 2016
LacusTStop&BE Expert Advisor - VertexFX

omsaitech5555 started this thread The Lacus T Stop & BE Expert Advisor is a handy VertexFX client-side script to manage open positions. This Expert Advisor is a powerful money management tool. It should be noted that this Expert Advisor does not open any trades.
This Expert Advisor works in two modes – namely Stealth mode, and non-Stealth mode. In Stealth mode, (when STEALTH is set to TRUE), the take-profit, stop-loss, trailing and break-even stops are calculated and stored within the Expert Advisor. When the price touches these calculated values, the Expert Advisor automatically closes all the positions. The calculated values are not communicated to the broker server, and hence it provides an additional layer of privacy and security. However, in non-Stealth mode, the calculated values are updated to the server, and when the stop-loss or take-profit is hit, the server automatically closes the positions.
This Expert Advisor provides the following five features:
1. Initial Money Management –
a. The initial stop-loss of each position is set to STOP_LOSS points.
b. The initial take-profit of each position is set to TAKE_PROFIT points.
2. Breakeven Stop – When the open profit (in points) reaches the value specified by BREAKEVEN_GAIN, then the stop-loss is automatically set to a distance of BREAKEVEN points from the entry price.
3. Trailing Stop – When the open profit (in points) reaches the value specified by TRAILING_START, then the stop-loss is automatically set to distance of TRAILING_STOP points from the current price. From this point onwards the trailing stop trails the price by a distance of TRAILING_STOP points.
4. Profit Management for each Position – When the open profit of a position reaches the value specified by ORDER_PROFIT, that specific position is closed automatically.
5. Portfolio level Profit Management –
a. When the open profit (in percentage) reaches the value specified by PERCENT_OF_BALANCE, then all open positions are closed automatically.
b. When the open profit (in amount) reaches the value specified by PROFIT_AMOUNT, then all open positions are closed automatically.
Attached Files
File Type: zip LacusTStopandBE.zip (4.4 KB, 79 views)
omsaitech5555 is offline Software vendor   Reply With Quote
Old Nov 4, 2016, 9:44am   #17
Joined May 2016
ExpMartin Expert Advisor - VertexFX

omsaitech5555 started this thread The ExpMartin Expert Advisor is a simple VertexFX client-side script that employs a basic Martingale strategy to place and manage alternating buy and sell trades.
The idea behind this Expert Advisor is to employ a Martingale trading strategy with the expectation that the market will breakout from sideways to either direction. By using appropriate values for FACTOR and LIMIT, the Expert Advisor recovers all the losses incurred in the sideways markets and makes additional profits.
When the Expert Advisors starts, it checks if a trade is already opened. If there is no trade open, then the first BUY trade is opened for LOTS lot-size if START_TYPE is set to 0. If the START_TYPE is set to 1, then an initial SELL trade is opened for the LOTS lot-size immediately.
The initial stop-loss is set to STOP_LOSS points, and the initial take-profit is set to TAKE_PROFIT points. If the initial trade closes at a loss, the next trade opened is of the opposite type and the lot-size is increased by FACTOR. For example, if the initial trade was a BUY trade for 0.1 lots, and the FACTOR is set to 2.0, then the next trade is a SELL trade for 0.20 lots. This process is repeated till the trade is closed profitable, or when the number of trades in the sequence reaches LIMIT. For example, if LIMIT is set to 5, then after the 5th trade is closed at a loss, the Expert Advisor starts afresh with the original lot-size. However, the direction is reversed from that of the last trade.
By opening alternating BUY and SELL trades the Expert Advisor responds to changes in the market direction appropriately. For example, if the first trade opened was a BUY, and the price rises the Expert Advisor exits in profit and starts again. On the contrary, if the price falls, a new SELL trade is opened. If the price falls further, the cumulative profit of the BUY and SELL trade is in profit, and the Expert Advisor closes both the trades at a cumulative net profit. However, if the price rises after the new SELL trade is opened, there might be a nominal net profit or loss. In such a situation, the Expert Advisor waits for next market move. If the price rises above the initial (first) BUY trade, the Expert Advisor opens a new BUY trade (third trade). The lot-size of this BUY trade is greater than sum of the lot sizes of the previous two trades. By increasing the lot-sizes, the Expert Advisor ensures that it is profitable whenever the price moves in the direction of the last opened trade.
omsaitech5555 is offline Software vendor   Reply With Quote
Old Nov 7, 2016, 9:46am   #18
Joined May 2016
Smoothing Average Expert Advisor - Vertex FX

omsaitech5555 started this thread SmoothingAverage is a client-side V T L expert advisor based on the Simple Moving Average also called as S M A indicator.

The concept behind the SmoothingAverage expert advisor is to use the trending characteristics of the S M A to identify a trading range and direction, and then place trades when the price is trading in a band defined by the S M A. The expert advisor expects the price to trade within a range defined the Smoothing user parameter of the S M A.
It identifies a trading band of Smoothing points above and below the current price and places reversal trades when the price reaches outside this band.
If there is no open trade, and the price is below the S M A plus Smoothing points, a SELL trade is opened for the specified lots. On the contrary if the price is above the S M A minus Smoothing points, a BUY trade is opened for the specified lots.
This expert advisor uses identical exit management whereby a SELL trade is closed if the price reaches above the SMA pus Smoothing points, or, closing a BUY trade when the price falls below SMA minus Smoothing points.
It’s always advised to use any E A or Indicator on Demo account first and use it on live account after confirmation of the desired results of the E A or Indicator.


http://www.hybrid-solutions.com/plug...ngaverage.html
Attached Files
File Type: zip smoothingAverage.zip (2.3 KB, 74 views)
omsaitech5555 is offline Software vendor   Reply With Quote
Old Nov 30, 2016, 7:49am   #19
Joined May 2016
Forex Fraus Slogger EA VertexFX

omsaitech5555 started this thread The Forex Fraus Slogger Expert Advisor is a reversal-based VertexFX client-side script that identifies reversal trades using the Envelopes Bands indicator. It also manages trailing stops of trades opened by the Expert Advisor, and can also manage trades opened by other Expert Advisors, or manually by the user.
The Envelopes Band indicator provides an Upper Band and a Lower Band in which prices typically trade during sideways markets. The idea behind this Expert Advisor is that when the price enters the Envelope from outside, it continues to move towards the centre of the Envelope, or towards the other end of the Envelope. The Expert Advisor identifies such scenarios and converts such situations into trading opportunities.
When the price is above the Upper Envelope, and crosses below the Upper Envelope from above, the Expert Advisor generates a SELL trade. The expectation is that the price will continue falling towards the centre of the Envelope.
Similarly, when the price is below the Lower Envelope, and then crosses above the Lower Envelope from below, the Expert Advisor generates a BUY trade. The expectation is that the price will continue rising towards the centre of the Envelope.
The stop-loss is typically set to 50% of the height of the Envelope, and similarly the take-profit is set to 50% of the height of the Envelope. The lot-size is calculated based upon the RISK_PERCENT, and is bounded by MIN_LOTS on the lower side and by MAX_LOTS on the upper side.
The Expert Advisor manages the trailing stops of the trades it opened. However, if ALL_POSITIONS is set to TRUE, then it manages the trailing stops of all pairs currently opened – even if they were not opened by the Expert Advisor.
If PROFIT_TRAILING is set to TRUE, then the trailing stop is triggered only when the trade profit is equal or greater than TRAILING_STOP value. However, if PROFIT_TRAILING is set to FALSE, then the trailing stop is triggered immediately once the trade is in profit, even it if is below the TRAILING_STOP threshold value.
Attached Files
File Type: zip ForexFraus_Slogger.zip (3.6 KB, 79 views)
omsaitech5555 is offline Software vendor   Reply With Quote
Old Mar 16, 2017, 8:21am   #20
Joined May 2016
BuySellIndicator – VertexFX

omsaitech5555 started this thread The BuySell indicator is a simple yet powerful VertexFX client side script that identifies powerful trends. It is based on Moving Average (MA) and Average True Range (ATR), and is primarily used as a signal for trend-following systems.
Moving Average is a useful indicator that provides feedback about the trend and its direction. A rising Moving Average implies a bullish trend, whereas a falling Moving Average implies a bearish trend. The Average True Range determines the strength of the trend and its movement. A gradually increasing Average True Range implies a strong trend (which can either be bullish or bearish), whereas a falling Average True Range implies exhaustion or sideways movement. By combining these two indicators the BuySell indicator identifies profitable trend-following opportunities.
In the first step, we calculate the Moving Average based upon the user input configuration – namely MA_METHOD,MA_PERIOD, and MA_PRICE. In the second step we calculate the Average True Range based on the ATR_PERIOD parameter.
As mentioned earlier, a rising Moving Average implies an uptrend and a falling Moving Average implies a downtrend. When the Moving Average is rising, the Average True Range is subtracted from the Moving Average to calculate the BULLISH trailing level (RED line). This level is used as a trailing stop for BUY trades.
Likewise, when the Moving Average is falling, the Average True Range is added to the Moving Average to calculate the BEARISH trailing level (BLUE line). This level is used as trailing stop for SELL trades.
This indicator has four components – blue circles, blue dots, red circles and red dots. It is primarily used in a stop-and-reverse (SAR) trading mechanism.
Attached Files
File Type: zip BuySell_Indicator.zip (2.6 KB, 78 views)
omsaitech5555 is offline Software vendor   Reply With Quote
Old Aug 17, 2017, 7:53am   #21
Joined May 2016
Dealers Trade MACD

omsaitech5555 started this thread The Dealers Trade MACD Expert Advisor is an innovative VertexFX client side script that employs trend

reversal trading techniques based on the MACD indicator, along with advanced account protection mechanisms

during trade reversals.
This Expert Advisor identifies MACD divergence, whereby a BUYING opportunity is created when the MACD is

falling, but the price is rising. Since the price is rising, but the MACD is falling, eventually the MACD must rise,

and the potential of a bullish breakout is increased due to the feedback loop.
Similarly, a SELLING opportunity is created when the MACD is rising, but the price is falling. Eventually, the

MACD must fall, and the potential of a bearish breakout increases due to the feedback loop.
The Expert Advisor evaluates conditions for a BULLISH or BEARISH divergence. When a divergence

condition is detected, it places a trade in the direction of the divergence. For example, if MACD is rising, and the

price falling, a BEARISH divergence is formed. The Expert Advisor places a SELL trade at market price.
The take-profit and stop-loss are set accordingly.
In the likelihood that the price continues to fall, no further action is necessitated because the SELL trade is

profitable. The SELL trade is then managed using the trailing stop.
On the contrary, if the price continues to rise, the SELL trade is adversely affected, and at a loss. When this

SELL trade reaches a loss of PIPS (pips), and the BEARISH divergence still exists, a new SELL trade is opened.
This process continues till the SELL trades become profitable (some SELL trades may become profitable, while

the earliest opened SELL trades may not become profitable), or new SELL trades will be opened at a distance

of PIPS from the previous SELL trade, till the total number of SELL trades opened is equal to MAX_TRADES.
The lot-size of the new trade is multiplied by DOBLE of the previous trade’s lot-size. When the maximum

number of trades is reached, the robot does not open new trades – it waits for the stop-loss to hit, or for the

trades to turn profitable.
If a BULLISH divergence is detected while SELL trades are open, the robot does not close the open SELL

trades, but rather opens BUY trades with similar rules – each BUY trade is opened PIPS distance below the

previous BUY trade.
The BUY and SELL trades are tracked independently, and their profits are not combined. If

ACCOUNT_PROTECTION is enabled, then when the open profit of each leg (SELL or BUY)reaches

SECURE_PROFIT amount, then the stop-loss of all the trades in that leg are moved to the average price

(break-even) of that leg.
Attached Files
File Type: zip Dealers_Trade_MACD.zip (4.8 KB, 73 views)
omsaitech5555 is offline Software vendor   Reply With Quote
Old Aug 25, 2017, 8:41am   #22
Joined May 2016
Up Bot Auto trader

omsaitech5555 started this thread The Up Bot Auto trader is a powerful bi-directional Vertex-FX client-side script that trades based on price divergence between two consecutive bars.

The concept behind this trading system is based on the formation of two consecutive Highs (or Lows) in close proximity, followed by a reversal in the opposite direction. The likelihood of the price continuing the reversal towards a new High (or Low) is very high, and entering a trade under such circumstances can be very rewarding. This is called High-Low divergence. Robust money management techniques using a tight profit target, stop-loss and use of a trailing stop can enhance the profitability of the trades.

A BUY position is opened if the absolute distance between the current Low and the previous Low is less than the value of HLDivergence parameter, and the Bid price is at a distance between SpanPrice and 1.5 times the SpanPrice from the current Low. The idea behind this entry is that after two adjacent Lows are formed very close to each other, and as the price continues to rise, the probability of a bullish breakout is very high, and a BUY trade is thus opened. Only one BUY trade per candle is allowed.

A SELL position is opened if the absolute distance between the current High and the previous High is less than the value of the HLDivergence parameter, and the Ask price is at a distance between SpanPrice and 1.5 times the SpanPrice from the current High. The idea behind this entry is that after two adjacent Highs are formed very close to each other, and as the price continues to fall, the probability of a bearish breakout is very high and a SELL trade is thus opened. Only one SELL trade per candle is allowed.

Both BUY and SELL trades can co-exist at that the same time, and are tracked independently. The maximum number of open trades allowed is restricted by the MaxTrades parameter.

A trade can be closed either when the profit-target, stop-loss or trailing-stop loss is hit. Additionally, a trade can exit if OutputAtLowerand/or OutputAtReverseparameters are enabled and their conditions are met.

When OutputAtLower is enabled, BUY trade(s) are closed when the current Bid price is lower than the current candle Low, and SELL trades are closed when the Ask price is above the current candle High. This setting is useful in exiting trades that have false breakouts quickly. When a BUY trade is active, and the price starts falling and makes a new Low, it is likely that the market circumstances have changed and hence it is diligent to exit the BUY trade. Similarly, when a SELL trade is active, and the price starts rising and makes a new High, it is likely that the market circumstances have changed and hence it is diligent to exit the SELL trade.

Another safety mechanism for exiting open trades is the OutputAtReverse setting. When enabled, the Auto trader does not wait for the OutputAtLower trigger, which occurs only when a new Low (or High) is made. For a BUY trade, it exits when the current Bid price is at a distance between SpanReverseand 1.5 times SpanReversefrom the current Low. Similarly, for a SELL trade, it exits when the current Ask price is at a distance between SpanReverse and 1.5 times SpanReverse from the current High.

The OutputAtReverse ensures that the trade exits quickly if there is a change in direction, but at the same time, in a sideways market, it can generate false exits.The value of SpanToReverse should always be less than the value of SpanPrice.

The file is attached here

http://www.hybrid-solutions.com/plug...ee/up-bot.html
Attached Files
File Type: zip Up_bot_1.0.zip (3.9 KB, 73 views)
omsaitech5555 is offline Software vendor   Reply With Quote
Old Aug 30, 2017, 10:20am   #23
Joined May 2016
Reverse EA

omsaitech5555 started this thread Reverse Script is a handy VertexFX client-side script that reverses open positions in current trade account.
The purpose of this script is to reverse existing open positions quickly, reliably and accurately in an automated mechanism. There are circumstances when a trader feels that the market conditions have reversed and he needs to reverse his open positions. The trader is able to accomplish this with a single click using the Reverse script.
The script iterates through each open position (either a BUY or a SELL trade), and then closes it at the market price. After the original position has been closed, it opens a new trade with the same lot-size in the opposite direction. So, a BUY position is closed and an opposite SELL position with an identical lot-size is opened. Likewise, a SELL position is closed and an opposite BUY position with an identical lot-size is opened. If the paramter CurSymbolOnly is set to TRUE, then the script reverses positions only for the current chart symbol leaving open positions of other symbols untouched. However, if CurSymbolOnly is set to FALSE, then the script reverses open positions of all symbols.
If StopLoss and TakeProfitparameters are configured then the script sets the stop-loss and the profit-target of the reversed positions accordingly.
The Marketwatch parameter is used to configure the script for STP/ECN brokers, whereby the broker expects the stop-loss and the profit-target to be set only after the position is opened. When set to TRUE, the Reverse script first opens the reverse position and then updates the stop-loss and take-profit thereby fulfilling the criteria of STP/ECN brokers.
The Reverse script does not act upon pending orders, namely BUY-LIMT, BUY-STOP, SELL-LIMIT and SELL-STOP orders. It acts only on open positions, thus leaving the pending orders untouched.


http://www.hybrid-solutions.com/plug...e/reverse.html
Attached Files
File Type: zip Reverse.zip (2.7 KB, 72 views)
omsaitech5555 is offline Software vendor   Reply With Quote
Old Mar 20, 2018, 9:14am   #24
Joined May 2016
NTK Expert Advisor

omsaitech5555 started this thread The NTK Expert Advisor is a VertexFX client-side script built upon price breakout technique. It is based on the idea that when a strong trend starts, the probability of this strong trend continuing is very high. Hence, trades opened in the direction of the trend have a greater probability of success and profit. This Expert Advisor capitalizes on this idea by trading in the direction of the breakout. It does not attempt to determine the direction of the breakout, but rather waits to trade in the breakout direction by placing pending orders in both directions.
When the Expert Advisor is attached to chart, it places a BUY-STOP and a SELL-STOP orders based on the NET_STEP, PER and CENTER parameters. The take-profit specified by the TP parameter is typically greater than twice the stop-loss defined by the SL parameter. This ensures a greater Profit Factor and results in higher overall profitability. The initial lot-size is calculated based on the SL, PERCENT and Account Balance.
After the initial STOP orders are placed, the Expert Advisor waits for a breakout in either direction. Once a pending order is triggered, the opposite pending order is deleted. Thus the Expert Advisor trades only in the direction of the trend. It does not open orders in the counter-trend direction.
Once a trade is open, the Expert Advisor employs a trailing stop – either using a fixed distance as specified by TRAIL_PROFIT or based on the Simple Moving Average based on USE_MA and MOVING_PERIOD. Similarly, if BE_ZUB is specified, then the trailing stop is moved to the entry price once the trade reaches a profit of BE_ZUB points.
The next pending order is placed in the same direction after the initial trade is opened. For example, if the initial trade is a BUY trade, then a new BUY-STOP order is placed at distance of NET_STEP points from this initial trade. The lot-size of the second order is MUL times the lot-size of the first order. This process is repeated till the MAX_TRADES number of trades is reached. Once this limit is reached, the Expert Advisor does not place new trades, and only manages the existing trades. Each position is closed either at the take-profit, or at the initial stop-loss, break-even stop or by the trailing stop. Finally, once the last trade is closed, the Expert Advisor starts over again by placing the initial BUY-STOP and SELL-STOP orders.
In the adverse scenario of the market changing its direction, the trades are exited at stop-loss. Typically, the stop-loss is half (or less) the value of the take-profit, so a smaller Win/Loss Ratio is sufficient to generate a superior Profit Factor.

http://www.hybrid-solutions.com/plug.../free/ntk.html
Attached Files
File Type: zip NTK.zip (5.4 KB, 71 views)
omsaitech5555 is offline Software vendor   Reply With Quote
Old Mar 20, 2018, 9:54am   #25
Joined May 2016
Oblomov Expert Advisor

omsaitech5555 started this thread The Oblomov Expert Advisor is a simple VertexFX client-side automation script used by traders to open a BUY trade on Monday (i.e. at the start of the trading week) based on the level of previous candle’s pivot. It is especially useful for traders who trade stocks in the BUY direction based on Daily and Weekly pivot levels.
A BUY trade is opened on Monday at the specified OpenTime hour (e.g. 10 a.m.) if the open price of the current candle is above the typical price of the previous (closed) candle. The typical price is calculated as the average of High, Low and Close of the previous closed candle. The trade is protected by the StopLoss and TakeProfit parameters.
The lot-size can be set to either fixed lots, or calculated dynamically. If the value of Lots parameter is set to a valid (non-zero) value, the trade is opened with a fixed lot-size.
On the contrary, if the value of Lots parameter is set to zero, then the dynamic lot-size is calculated based on the current Account Balance. If the current Account Balance is less than InitEquity, then the lot-size is set to minimum allowed lot-size by the broker. If the current Account Balance is equal to or greater than InitEquity, the lot-size is set to InitLots, and for every additional amount of DeltaEquity in the Account Balance the lot-size is increment by DeltaLots. For example, if InitEquity is set to 500, InitLots set to 0.1, DeltaEquity set to 200, and DeltaLotsset to 0.2, then if the Account Balance is $1000, then the dynamic lot size is calculated as 0.5 lots.
If a trade is already open, the Expert Advisor does not place a trade. This Expert Advisor does not place SHORT (SELL) trades.
http://www.hybrid-solutions.com/plug...e/oblomov.html
omsaitech5555 is offline Software vendor   Reply With Quote
Old Mar 20, 2018, 10:22am   #26
Joined May 2016
RECO Expert Advisor

omsaitech5555 started this thread The RECO Expert Advisor is an innovative VertexFX client-side script that places trades by identifying the market trend. It is based on the Relative Strength Index (RSI), oscillator and employs a variation of the Martingale based position management.
When the Expert Advisor starts afresh without any open positions, it waits for the RSI to cross below the RSI_BUY_ZONE or above the RSI_SELL_ZONE threshold levels. The initial BUY trade is placed when the RSI is below the RSI_BUY_ZONE, and likewise, the initial SELL trade is placed when the RSI is above the RSI_SELL_ZONE.
Once the initial BUY trade is placed, the next BUY trade will be placed when RSI is below the RSI_BUY_ZONE, and the price is below the previous BUY trade price by at least START_DISTANCE and DISTANCE_MULTIPLIER points. For example, if START_DISTANCE is 30 points, and DISTANCE_MULTIPLIER is 1.5, then the second BUY trade is placed 30 points below the first trade, the third BUY trade is placed at distance of 45 points below the second BUY trade, the fourth BUY trade is placed at a distance of 67 points below the third BUY trade and so on. Subsequent BUY trades can be placed only if the RSI is below the RSI_BUY_ZONE level. The lot size of each subsequent trade is increased using the LOT_MULTIPLIER and is bounded between MIN_LOT and MAX_LOT. For example, if the LOT_MULTIPLIER is set to 2.0 and the value of LOT is set to 0.1, then the lot-size of the second trade is 0.2, that of the third trade is 0.4 and so on.
A similar contrary rule is employed to place SELL trades, where the next SELL trade is at a farther distance above the previous SELL trade calculated from START_DISTANCE and DISTANCE_MULTIPLIER with increasing lot size.
This mechanism adds safety to the Expert Advisor as it ensures that the new positions are not opened very quickly. This is especially valuable when the market is falling (or rising) very quickly, whereby the Expert Advisor avoids adding new trades very quickly and risking ruin.
RECO Expert Advisor does not use profit target and stop-loss for individual trades. It uses combined net profit / loss to exit the open positions when the profit or loss threshold is crossed. The profit threshold is calculated if USE_CLOSE_PROFIT is set TRUE, and likewise the loss threshold is calculated if USE_CLOSE_LOSE is set to TRUE.
To illustrate, assume PROFIT_1_ORDER is set to 3, PROFIT_MULTIPLIER is set to 2. If only one trade is open, it will be closed when the profit reaches $3, if two trades are open then both trades will be closed when the combined profit reaches $6, if three trades are open then these three trades will be closed when the combined profit reaches $12. The loss threshold can be calculated similarly from the above example by substituting the respective values of LOSE_1_ORDER and LOSE_MULTIPLIER.
The Expert Advisor can open SELL trades while BUY trades are open, and vice-versa depending on the RSI value and the RSI_BUY_ZONE and RSI_SELL_ZONE thresholds being triggered.
http://www.hybrid-solutions.com/plug...free/reco.html
omsaitech5555 is offline Software vendor   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
expert advisor anguel First Steps 0 Apr 10, 2009 10:54am
Expert Advisor Help mozillan Trading Software 0 Mar 1, 2007 4:49pm

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)