Sure Fire Hedging Strategy


  • Overview

Sure Fire Hedging Strategy

This is an old and well-known strategy from the book "Sure Fire Hedging Strategy".

This strategy is using a hedge order with a higher lot size for the last (opposite) order and will receive profit if your free margin is huge enough to handle.

A good money management is needed for using this system.

You can use a pending or a direct order as a hedge order on the EA input properties.

TP and SL are based on the book "Sure Fire Hedging Strategy". TP/SL is 30/60.


Parameters

  1. First_Balance – your first initial balance. The EA cannot work without it.
  2. Start_Hours – default 00:00 means the EA starts running at 00:00 broker server time.
  3. End_Hours – default 24:00 means the EA stops running at 24:00 broker server time.
  4. Magic_Number_Sell – magic number for the first sell order that is automatically placed by the EA if Scan_Order is false.
  5. Magic_Number_Buy – magic number for the first buy order that is automatically placed by the EA if Scan_Order is false.
  6. First_Lot – initial lot size for any first order that is automatically placed by the EA if Scan_Order is false.
  7. Scan_Order – if true, auto first order by the EA does not work, and it will scan and track any other order placed manually or by other EA. It will be hedged by SFHS EA automatically.
  8. Enable_Hedge – if false, all hedge orders are disabled.
  9. Max_Hedge_Order – how many hedge orders are allowed. Default 20 means 20 hedge orders are allowed.
  10. Step – how many points to be hedged. Default 300 means 300 points = 30 pips.
  11. First_Hedge_Lot_Times – how many times the first hedged lot multiplier applies to the next hedge order. Default 1 means the first hedged lot size is applied only once.
  12. First_Hedge_Lot – the first hedged lot size multiplier. Default 3 means if the first order has, for example, a lot size of 0.01, the first order is hedged by the lot size 0.03 (0.01 x 3).
  13. Next_Hedge_Lot – hedged lot multiplier after the first hedge order, the default 2 means if the last hedge order has, for example, the lot size of 0.03, it is hedged again by the lot size of 0.06 (0.03 x 2).
  14. Hidden_TP_SL – use hidden TP/SL; if true, the target percentage or profit is used to close all orders, if false, it activates an ordinary old target SL/TP in pips.
  15. Profit_Target – target profit in account currency. Default 2 means that, for example, a USD account should have the profit of 2 USD to close all opened orders. Activate this function by setting the Percent_target to false and Hidden_TP_SL to true.
  16. Percent_Target – if true and Hidden_TP_SL is true, the target percentage from the current balance is activated to close all orders, the target percentage profit is for the current pair only.
  17. Target_Percent – target percentage from the current balance. Default 0.2 means if a total profit of the current pair reaches 0.2% of the current balance, it closes all orders.
  18. Hedge_TP – ordinary old style take profit target in pips. Default 300 means TP is 300 points (30 pips).
  19. Hedge_SL – ordinary old style stop loss target in pips. Default 600 means SL is 600 points (60 pips).
  20. Trailing_STOP_Enable – activate trailing stop function. This function works only for the old style target in pips, and a trailing stop always has a priority for the last hedge order. To activate this function, set Trailing_STOP_Enable to true and Hidden_TP_SL – to false.
  21. Trailing_Stop – distance in pips, after which trailing stop function starts. Default 200 means 200 points (20 pips).
  22. M1_Trend – M1 trend up or down filter (combination of several trend indicators). If true, it allows the EA to put the first order on HLH4 ranging status.
  23. Max_Spread_Allowed – maximum allowed spread for trading. Default 20 means 20 points = 2 pips. If a spread from a broker is more than 20 points, the EA is not active until the spread is below 20 points again. It is a good filter of spread during a highly volatile market and news releases.
  24. Monday – Day filter, if set to true, it will activate Monday day filtering, means will no new cycle of first order on Monday.
  25. Tuesday – Day filter, if set to true, it will activate Tuesday day filtering, means will no new cycle of first order on Tuesday.
  26. Wednesday – Day filter, if set to true, it will activate Wednesday day filtering, means will no new cycle of first order on Wednesday.
  27. Thursday – Day filter, if set to true, it will activate Thursday day filtering, means will no new cycle of first order on Thursday.
  28. Friday – Day filter, if set to true, it will activate Friday day filtering, means will no new cycle of first order on Friday.

The auto first order of the EA has several conditions (using HLH4 Trend, High Low H4 timeframe trend tracker):

  • the first order is buy if HLH4 is an uptrend.
  • the first order is sell if HLH4 is a downtrend.
  • no orders if HLH4 is a ranging trend, but if you want to keep opening orders, just set M1_Trend to true. This will allow the EA to put the first order buy or sell when the HLH4 system is in a ranging trend condition.

Trailing stop function detail:

  • Activated if Hidden_TP_SL is false and Trailing_STOP_Enable is true.
  • Trailing stop always has a priority for the last hedge orders of the same type.

Below is an example of using First_Hedge_Lot_Times set to 4, First_Hedge_Lot set to 3 and Next_Hedge_Lot set to 2:

(4 times of 3.0 lot multiplier example)

  1. The main first Buy order is opened (1 opened order), the lot size is 0.01
  2. The first hedge Sell order with 3.0 lot multiplier opened (1 opened order), the lot size is 0.03, the previous order lot 0.01 X 3
  3. The second hedge Buy order with 3.0 lot multiplier opened (1 opened order), the lot size is 0.09, the previous order lot 0.03 X 3
  4. The third hedge Sell order with 3.0 lot multiplier opened (1 opened order), the lot size is 0.27, the previous order lot 0.09 X 3
  5. The fourth hedge Buy order with 3.0 lot multiplier opened (1 opened order), the lot size is 0.81, the previous order lot 0.27 X 3
  6. The fifth hedge Sell order with 2.0 lot multiplier opened (1 opened order), the lot size is 1.62, the previous order lot 0.81 X 2
  7. The sixth hedge Buy order with 2.0 lot multiplier opened (1 opened order), the lot size is 3.24, the previous order lot 1.62 X 2

Scan_Order detail:

  • If Scan_Order is true, it blocks the auto first order and activates a scan of orders placed on the chart manually or by other EA and supervises to be hedged, too.

Example of using an ordinary old target SL/TP (trailing stop is not activated):

  • SL/TP 30/30 (in pips), Hidden_TP_SL should be false, Step should be 300, Hedge_TP should be 300 and Hedge_SL should be 600.
  • SL/TP 50/50 (in pips), Hidden_TP_SL should be false, Step should be 500, Hedge_TP should be 500 and Hedge_SL should be 1 000.
  • SL/TP 100/100 (in pips), Hidden_TP_SL should be false, Step should be 1 000, Hedge_TP should be 1 000 and Hedge_SL should be 2 000.
  • SL/TP 10/10 (in pips), Hidden_TP_SL should be false, Step should be 100, Hedge_TP should be 100 and Hedge_SL should be 200.

Why using a hidden TP/SL is more effective:

  • It allows the EA to avoid any widening spread from a broker, slippage, requotes and some cheat from broker. So, with a target profit or percentage it is not a problem if an order shows a slippage or is not equal in a step interval. As long as this EA sticks to the target profit, then the precise distance between orders is not important.
  • The EA can work with any broker, slippage and spread.
More from author
Quadro Multi Grid Scalper
Syarif Nur Arief
We never know what market price will go on next second. That's why a trader needs to find a good way to have a good exit strategy. Quadro Multi Grid Scalper is a High Frequency Grid scalper using RSI and Price action, with three grid groups of order working individually. This EA can work together with my other EA "Sure Fire Hedging Strategy".  This EA uses Averaging exit system with safe martingale settings, and uses hidden TP/SL to avoid price slippage. Has delay order protection for delaying a
255.14 USD
HLH4 Breakout System
Syarif Nur Arief
The main idea of this strategy is: Open a buy order if current price is above the Last high price of the previous bar (H4 time frame). Open a sell order if current price is below the Last low price of the previous bar (H4 time frame). Make a hedge order for all opened orders (martingale is not used by default). Profit Locking for closing all orders is used on this system (target profit in account currencies). Here is a brief of expert advisor properties: EA_Name = HLH4 BreakOut is a name of the
655.14 USD
LSMA Daily Trade
Syarif Nur Arief
Idea came from an old trader who has been trading for a long time since 2007 till current years, doing manual trading using the LSMA indicator. His experience had a positive result (small but continued). A brief of what the LSMA indicator is. It stands for Least Squares Moving Average and the indicator plots the endpoint of the linear regression line. By comparing the current value to the prior value a determination is made of a possible trend, i.e. the linear regression line is pointing up or
137.14 USD
Support and resistant with pivot
Syarif Nur Arief
Indicator can drawing Support Level (Lowest price of choosed Time Frame) and Resistance Level (Highest price of choosed Time Frame), and this indicator can drawing last of Pivot Level from the Last of Support Resistance Level. Support and Resistance based Highest and Lowest at choosed Time Frame can be your next good experience for your forex trade to maximize your trade win and lost ratio. Parameter : _S_and_R__Setup_ ,          Default is   # SUPPORT AND RESISTANT # , No Need To Change Drawi
57.14 USD
Super Grid Nineth Generation
Syarif Nur Arief
Super grid nineth (ninth) generation is another grid type EA on this huge forex system population, this EA not using any indicator to avoid any fake signaling to open or closing position orders. This EA will open pending order stop and limit in the first time EA run, then maintain all opened order with unique way to balancing account free margin and make equity growth. This EA have unique system not like anyother grid EA, with correct setup and run on max 3 pairs in one account, this EA capable
355.14 USD
Color Macd Tf
Syarif Nur Arief
MACD is well known indicator that still can be use for prediction where price will go next few minutes, hours or even weekly  With colored bar of Macd, your eyes can easily catch when color is changed based what market price movement to find any early trend on market. here is the parameter of the indicator: TF_MACD , default is 1 Hour , this mean you can see clearly MACD of 1 Hour TimeFrame on Lower TimeFrame. InpPrice , default is Price Close , this is original MACD parameter from Metaquotes st
47.14 USD
Gold Eye
Syarif Nur Arief
Gold Eye is one of advance profesional expert that use deep neural network to catch probability of true trend on XauUsd market, this expert can be run on forex pairs also (Default setup is for XauUsd). This expert can be set as trend grid follower, or can be set as like hedging system but with flat lot size (not using martingale). Then unique setup for Money Profit/Loss management is the good things not like any others paid expert here on Mql5. # EA MUST BACKTEST USING TIME_FRAME_001 # PARAME
555.14 USD
Fibo Projector
Syarif Nur Arief
This indicator will automatically draw 4 Fibonacci levels on the chart. Dynamic Fibonacci will be drawn on the last of zigzag line. Static Fibonacci will be drawn on the 3 last of zigzag line. Fibonacci projection 1 and 2 will be drawn on the last zigzag line also. This way, you can see several Fibonacci level to get prediction of next support and resistance of market price. Indicator does not work if less than 500 bars are available. Parameters Zig_Zag_Parameter Depth - Zig zag depth paramete
55.14 USD
Filter:
Matthew Todorovski
13272
Matthew Todorovski 2016.08.16 15:34 
 

User didn't leave any comment to the rating

Reply to review
Version 80.3 2020.12.25
Add new improvement of Real Stealth hidden TP/SL
Based what pips of SL/TP on parameter.
Version 77.1 2016.07.18
Version 77.1
1. All parameters of the version 26.0 have been left intact.
2. Added the new parameter "Day Filter", Set to true for activate each day filter parameter to avoid new cycle of first order on specific day, day filter is good for avoid Gap on monday also.
Version 76.0 2016.01.07
1. All parameters of the version 23.0 have been left intact.
2. Added the new parameter "Auto Cut Lost", default is 80 in percent, that means if your current balance is lost 80%, the EA will close all opened orders automatically and system will reset before opening a new first order.
3. Bug fixes.
Version 23.0 2015.10.13
New updated parameters and new functions (all EA parameters of Ver 22.0 are included in Ver. 23.0)

1. Added the Time_Filter_For_First_Order parameter - activate time filter of the first order.
2. Added the Time_Filter_For_Hedge_Order parameter - activate time filter of a hedge order.
Version 22.0 2015.06.11
New updated parameters and new functions (all EA parameters of Ver 20.0 are included in Ver 22.0)

1. Added spread filter parameter.
2. Fixed previous version bugs.
Version 20.0 2015.05.21
New updated parameters and new functions: (All parameters of Ver 18.0 are still in Ver 20.0 EA parameters, i.e. not changed)

1. Added option SL/TP old ordinary pip target.

2. Added Time Filter.

3. Added Trailing Stop.

4. Added First Hedge Lot multiplier Time (Repeated first hedge lot size).

5. Added option to use default trend filter (trend filter ver 18.0 or not).

6. Added Limitation for Max open hedge order.

7. Fixed some little bug and error of the previous version.
Version 18.0 2015.03.31
Added two new parameters:
1. First_Hedge_Lot - lot size for the first hedge order;
2. Next_Hedge_Lot - lot size for the next hedge order after the first one.

Changed default percent target:
Changed from 0.5% (SFHS Ver 17.0) to 0.2% (SFHS Ver 18.0).

Default for First_Hedge_Lot is 3.0. That means the lot size for the first hedge opposite order is First_Lot X 3.0.

Default for Next_Hedge_Lot is 2.0. That means the lot size for every next hedge opposite order from the last opened order is First_Lot X 2.0.

You can change the above parameter in any way you like.
Version 17.0 2015.03.23
1. Added Scan order for work with other EA or manual trade (Act like recovery EA)
2. Added option percent target profit from current balance of account
Version 11.0 2015.03.05
1. Removed TP/SL line for better performance and avoiding slippages.
2. Added a new target profit in account currencies to close all orders (the EA must be run on VPS).
3. A first order uses HLH4 breakout system to filter any ranging market.
4. You do not have to worry about your broker's spread.
Version 10.4 2014.12.15
1. First Order Comment can be change on EA properties.
2. New Feature, Scan Order Mode for work with any other EA or manual trade.

Note :
# If Scan order mode is active (Set to true on EA properties) :
1. Order from manual or another EA must be have similar TP/SL like Sure Fire Hedging Strategy EA properties.
2. Hedge order will only use market order (Not use pending order if scan mode is active).
3. Scan order mode is only for same pair, same pair with 2 chart window opened, first chart is another EA or manual trade, and second chart is for sure fire hedging strategy EA.
Version 10.3 2014.12.04
1. Added Magic number to EA parameters for first order.
2. Added Hedge Order true or false to EA parameters.