Anti Fragile

$0.00

Developed By: OmSaiTech

In stock

The Anti Fragile Expert Advisor is a VertexFX client-side script that employs a fixed-interval grid methodology to trade in both LONG and SHORT directions. It is useful in range-bound and sideways markets.

(Downloads - 1781)

SKU: 1210 Categories: ,

Anti Fragile Expert Advisor is a VertexFX client-side script that employs a fixed-interval grid methodology to trade in both LONG and SHORT directions. It is useful in range-bound and sideways markets.

The concept behind this Expert Advisor is that in a sideways market, a grid methodology works best. By placing BUY-LIMIT and SELL-LIMIT orders at specific intervals, the likelihood of BUY and SELL (LIMIT) being opened alternately is very high. By employing a trailing-stop instead of a take-profit, the Expert Advisor protects its profit, as well as if the market turns into trending mode it maximizes its profit potential.

The Anti Fragile Expert Advisor rules are as follows:

1. When the Expert Advisor is started, if TradeLong is set to TRUE, and if there are no pending orders (open positions may exist), then the Expert Advisor places NumberOfTrades number of BUY-LIMIT orders at equal intervals of SpaceBetweenTrades points below the current Bid price.
2. Similarly if TradeShortis to TRUE, it places an equal number of SELL-LIMIT orders at equal intervals of SpaceBetweenTrades points above the current Ask price.
3. The stop-loss of each of these orders is set to StopLoss points.
4. There is no take-profit since profitable orders are tracked using trailing-stop as specified by the TrailingStop points.
5. During the course of the execution of the Expert Advisor, if there are no BUY-LIMIT pending orders, but if SELL-LIMIT pending orders exist, then these SELL-LIMIT pending orders will be deleted. Similarly, if there are no SELL-LIMIT pending orders, but if BUY-LIMIT pending orders exist, then these BUY-LIMIT pending orders will be deleted.
6. Once all pending orders are triggered (or deleted), the Expert Advisor starts to place new orders as specified in step 1 onwards.
7. An open position is closed by the Expert Advisor when its initial stop-loss is hit, or its trailing stop-loss is hit.

Configurable parameters

1. StartingLot– The lot-size of the first (initial) trade opened by the Expert Advisor.
2. IncreasePercentage– The multiplier used to multiply the lot-sizes for the subsequent trades opened by the Expert Advisor.
3. SpaceBetweenTrades– The distance between the trades (of the grid) in points. For example, if this value is 500, then the second trade is opened at a distance of 50 pips from the first trade.
4. NumberOfTrades– The maximum number of trades the Expert Advisor can open. For example if this value is 20, then the Expert Advisor stops placing new orders when the number of open trades has reached 20.
5. StopLoss– The stop-loss in points of each trade opened by the Expert Advisor. Typically, the stop-loss value is less than the SpaceBetweenTrades value.
6. TrailingStop– The trailing-stop in points used to track and protect each profitable trade opened by the Expert Advisor.
7. TradeLong– Specifies whether the Expert Advisor can trade LONG (BUY trades).
8. TradeShort– Specifies whether the Expert Advisor can trade SHORT (SELL trades).

Usage

  • Download the attachment from vStore or directly from the vStore tab in your terminal by performing a right click on it and selecting Download & Install
  • Copy it to your company VertexFX Local VTL Files folder i.e. C:ProgramDataVertexFX Client Terminals”Company name”VTL10Local VTL Scripts
  • Restart your Client Terminal or Right Click on “Local VTL Scripts” Tree Node to find the script.

Additional information

Plugin-Type

Client VTL – Expert Advisor

Compatibility

Main Menu