• 概述
  • 评论 (1)
  • 评论 (118)
  • 新特性

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.
Matthew Todorovski
3956
2016.08.16 15:34 
 

用户没有留下任何评级信息

版本 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.
版本 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.
版本 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.
版本 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.
版本 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.
版本 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.
版本 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
版本 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.
版本 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.
版本 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.