You didn't post a topic yet. Let us show you how to make your first topic and upload your favorite forex robot. Guide me

Skip to forum content


(Page 1 of 3)

Pages 1 2 3 Next

You must login or register to post a reply

RSS

Posts: 1 to 10 of 21
Please rate this topic
Current rating: 0
Votes: 0

Embed topic to your site

Hedging EA - Always in profit

Topic: Hedging EA - Always in profit

Hedging EA - Always in profit


1. CONCEPTS

a) Usually, a few of the forex instruments (symbols), so called pairs in a plain language move in line with the other pair. For example GBPUSD (GU) and EURUSD (EU), often move in the same direction. However, some of them move in the opposite direction such as EURUSD with USDCHF. A couple of pairs that move in the identical direction is said to have a positive correlation, while couples move in opposite direction are negatively correlated. If we simultaneously enter the market by buying GU and selling EU at the same time, we were in position of hedging or so called locking

b) Although GU and the EU usually move in the same direction, its movement distance in pip between GU and EU is differ. Generally, based on the past records, movement of GU is bigger than EU. In order to balance the movement of these pairs in monetary value, let say in the USD currency, we use the ratio of Average Daily Range (ADR) between these pairs to determine the number of lots to be used during trading. The average ratio of ADR of the EU over GU in the period of the last 365 days is approximately 0.8. This means, if GU moves in a day by 200 pips, the EU is expected to move a total of 160 (= 0.8x200) pips. To get a proper balance of hedging in the USD, we use a smaller lot in GU. If we trade EU with 1.0 lot, then the traded lot for GU should be 0.8 lot, which is a result of ADR ratio (0.8) multiply with traded lot in EU (1.0 lot).

2. ENTRY AND EXIT

Although most of the time GU and EU usually move in tandem, there are certain situations cause the trend of GU is opposite with the trend of EU. When the pairs are moving contrary, the number of pips of movement to the contrary is called the gap. We can enter the market when the gap for the movement in the opposite direction between the GU and the EU is significantly bigger (minimum recommended gap is 100 pips). Let say at the time the 100 pip gap is occurred, trend of GU is up and trend of EU is down, then we are advised to enter the market by selling GU and buying EU simultaneously (if movement of GU is downtrend and oppositely the movement of EU is uptrend, we will buy GU and sell EU).

When GU and EU are beginning to move back in similar direction (or is said to close the gap), our open posts are believed to be in the profit territory, and we should be out of the market. To close the gap from previous situation which is GU is upward and EU is downward, GU must go down, and the EU have to go up, or GU has to move down substantially, or another possibility is the EU has to move up substantially.

Numbers of individual lots recommended to be used for Pair 1 (let say GU, for GU-EU couple) in the market are based on the ADR ratio between the two pairs. So if we are using 1 lot for EU, then we suppose to use 0.8 lot for GU.

3. TAKE PROFIT (TP) AND STOP LOSS (SL)

All the open posts in this technique use the Open TP and open SL. You have to float the posts until the floating pips or the profit in USD value from these two pairs become positive.

4. WHAT TO DO IF FLOATING DISTANCE (GAP) IS GROWING?

If the market against your opened positions, you can enter new posts of GU and EU for the second time (We name it as second layer of your posts) and so on for every increment of floating loss at certain distance (measured in pips). For GU with EU combination, the recommended distance for each layer is 100 pips. If your pairs at the last layer accumulate a net profit (recommended between 100-50pip), you should close these profitable posts and float the others.

5. EQUITY MANAGEMENT OR MONEY MANAGEMENT (MM)

For equity 1k USD, each layer should use a size of lot of 0.05 units to 0.1 units. (A traded lot of 0.1 units usually called as 10 cents, which a movement of 1 pip is equivalent of 10 cent in the value of money). If a lot of 10 cents in size is used in the trading, your account should be able to sustain in the market to the floating loss at least at 10 layers or 1000 pip loss.


6. PURPOSE OF THE THREAD

To facilitate a manual trading, a robot called Overlay Positive Hedging has been developed. Since the robot is still under testing and development phase, I open this thread mainly for sharing its setting, ideas, errors-debugging, or what ever thing that can improve its function as well as its performance. Any suggestions to modify or upgrade the robot are very much welcomed. Discussion in this thread should be focused on developing the robot.
The developed robot that can be used in a forward test for verifying the technique is a profitable method or to monitor its drawdown. Back test for the robot can not be carry out as it involves two different pairs

This robot is based on overlay hedging technique. It may be used for couples of pairs which have a positive correlation pair (example the GU with EU)

7. SETTING

Settings for parameters used by this robot are as follows:

Chart
If you want to trade a two way (overlay hedging) on a couple of GBPUSD-EURUSD, the robot should be installed on both charts, which are GU chart and EU chart. The robot should be placed in the chart of Pair 1 (GBPUSD), and a same robot in the chart of Pair 2 (EURUSD). If you are trading is only one way only, put the robot in one chart only, either in chart of Pair 1 (GBPUSD ) or Chart of Pair 2 (EURUSD)

Time Frame
The robot can be placed on any time frame. However D1 timeframe of the charts belong to the traded pair has to updated. This is necessary for proper ADR ratio calculation by the robot.

Two-way trading (overlay hedging)
For a two-way trading or called overlay hedging (traditional hedging). Two Robot’s parameters must be set as follows:
1. In the chart of Pair 1 (let say GBPUSD):
a. TradeCouple1 = true
b. TradeCouple2 = false

2. In chart of Pair 2 (let say EURUSD):
a. TradeCouple1 = false
b. TradeCouple2 = true

One-way trading (overlay)
Put the robot in one of the chart (either chart of Pair 1 or chart of Pair 2). If you want to buy Pair 1 and sell Pair 2, set the robot’s parameters as follows
a. TradeCouple1 = true
b. TradeCouple2 = false

OR, if you want to sell Pair 1 and buy Pair 2, set the robot’s parameters as follows
a. TradeCouple1 = false
b. TradeCouple2 = true

Robot Parameter Setting
1. Lots = 0.1
Number of lots for the second Pair (Pair 2). Suppose the setting is Pair 1 and Pair 2 is GU and EU, respectively. Lot used by the first Pair (Pair 1) depends on the ratio of Average Daily Range (ADR) between the two pair. Suppose the parameter settings for” Lots” is 0.1, thus Lot used for Pair 1, which is GU is “Lots” multiply with ADR ratio = 0.1 x 0.8 = 0.08 units. Lot for Pair 2, which is EU = “Lots” = 0.1 units

2. LayerDistance = 100
Distance in pip between each layer or level to open the next a couple of posts at the new Layer.

3. UseTakeProfitByPip = true
If you want to close your posts by pip acquired, set this parameter to TRUE. Otherwise FALSE if not used.

4. TakeProfit = 80
To define total profit in pips of the Pair 1 plus Pair 2 at the last layer. Once the couple of pairs acquired the defined profit in pips, the robot will close the posts at the last layer.

5. UseTakeProfitByUSD = false
If you want to close your posts defined by value of money in USD, set this parameter to TRUE. Otherwise FALSE if not used.

6. TakeProfitInUSD = 100
To define total net profit in USD from Pair 1 plus Pair 2 at the last layer. Once the couple of pairs acquired the defined profit in USD, the robot will close the posts at the last layer

7. MaximumLayer = 5
Maximum layer or level to be opened by the robot. There is no specific number for the maximum layer.

8. Pair1 = GBPUSD
A full name of symbol or pair for Pair 1. Pair 1 must have a larger ADR than Pair 2.

9. Pair2 = EURUSD
A full name of symbol or pair for Pair 2. Pair 2 must have a smaller ADR than Pair 1

10. Note1 = "Couple 1: Buy Pair1 Sell Pair2"
A reminder note that “Couple 1” is to enter a Buy for Pair 1and Sell for Pair 2.

11. Note2 = "Couple 2: Sell Pair1 Buy Pair2"
A reminder note that “Couple 2” is to enter a sell for Pair 1 and a buy for Pair 2.

12. TradeCouple1 = true
If you want a trading by buying Pair 1 and Selling Pair 2, set this parameter TRUE.

13. TradeCouple2 = false.
If you want a trading by selling Pair 1 and Buying Pair 2, set this parameter TRUE.

14. ADR_Day = 365
To define a number of days to calculate the Average Daily Range. Subsequently, the robot used the calculated ADR for obtaining a ratio of ADR between Pair 2 with Pair 1

15. UseManual_ADR_Ratio = true
If you want no of lot of Pair 1 is calculated based on parameters set by the ADR_Ratio, set this parameter to TRUE. Otherwise, the robot will determine ADR ratio by its own.

16. ADR_Ratio = 0.8
This is ADR ratio between Pair 2 and Pair 1. If UseManual_ADR_Ratio = true, this ratio is used to calculate a traded lot for Pair 1.

17. MagicNo = 90000
Couple identification number for each couple of pairs. For instance, if you want to trade a couple of GU-EU, this number suppose to be set similar in the GU and EU chart. If a different couple is to be used in trading, for example a couple of AUDUSD-NZDUSD, you have to change the parameter into other numbers, such as 90001. Use the same number for the parameter in both charts AUDUSD and NZDUSD.

Post's attachments

KH Overlay Positive Hedging v3.mq4 27.39 kb, 166 downloads since 2015-01-04 

Overlay Positive Hedging v1a~.mq4 28.97 kb, 132 downloads since 2015-01-04 

Set files.zip 729 b, 165 downloads since 2015-01-04 

Share

Thanked for the post: f.l.jones.royal.prince

Re: Hedging EA - Always in profit

HOW YOUR HEDING EA STARAEGY WORKS , CAN YOU SHOW RESULTS IN LIVE I AM INTERESTED

Share

Re: Hedging EA - Always in profit

May we have backtest results? A chart may also be given to help us get clear idea.

Share

Re: Hedging EA - Always in profit

Hi there, thanks you so much for this Hedging EA, hopefully it works good. Need to test first to get the result.

Share

Re: Hedging EA - Always in profit

HI,  i need Forex buy Sell hedging EA,  and EA Scalping. is there any one to upload?

Share

Re: Hedging EA - Always in profit

Hi there could you upload it? I want to test this mate, Thanks in advance

Share

Re: Hedging EA - Always in profit

Hi there could you upload it? IHi there could you upload it? I

Share

Re: Hedging EA - Always in profit

I always search for hedging EAs this one looks great..thank you

Share

Re: Hedging EA - Always in profit

Interesting concept Eea ... shame that you can not make test...

Share

Re: Hedging EA - Always in profit

its depend to the broker, some broker not allowed this strategies, some is ok.. better find the best broker before u loose money.. smile

Share

Posts: 1 to 10 of 21

Pages 1 2 3 Next

You must login or register to post a reply

Popular Topics

Sunmoon EA- (updated over $281,000 profit)

Scalper_GU- ( tested with over $10,700,000 profit)

Three moving averages EA- (updated over $650,000 profit)

Session Breakouts EA 2019- (updated over $2,900,000 profit)

probando el EA EAmymoneypro - ( tested with over $3,000,000 profit)

EA banyubiru 147, my first self-coding- (updated over $642,700 profit)

Forex Luxury EA- ( tested with over $164,000 profit)

EA- CSBL- ( tested with over $69,000 profit)

Profit alone is very profitable- (updated over $71,000 profit)

Renko scalper- (updated over $80,000 profit)

EA-Budak-Ubat-v1.51- (updated over $47,000 profit)

ea hokky- (updated over $459,000 profit)

Winner Fx Pro v2 - (updated over 15,700% profi)

need good setting- (updated over $78,000 profit)

Best Things In life Are Free - (tested with profit over 800%)

Renko EMA Robot v9.1 - (tested with over 1,300% profit)

Turbo Scalper EA- (updated over $360,000 profit)

af global - (tested with over $84,150 profit)

Grid Master EA- ( tested with over $283,100 profit)

EA- ( tested with over $20,700 profit)

EA's collection number 2- ( tested with over $39,000 profit)

EA FIBO- ( tested with over $15,300 profit)

EA MiFx V2.2- ( tested with over $293,700 profit)

No Sleep EA! Tested with 8900% Profit!

profit box v7- (updated over $34,700 profit)

Moby-Dick v2.7_2- (updated over $150,000 profit)

Sofy Robot - ( tested with over $100,000 profit)

EA Laba-Laba- (updated over $7,500 profit)

new robot - (updated over 47,500% profit)

Expert Advisor - (Envelopes - tested with over $93,000 profit)

 

Last Posts

  • 26/05: answer to beginner's question
  • 26/05: Best learning method for newbies
  • 26/05: Forex Luxury EA- ( tested with over $164,000 profit)
  • 26/05: picking up the suitable broker
  • 26/05: StepMAExpert_v1.42 EA - (tested with over $224,000 (64,000%) profit)
  • 25/05: US China trade war (Forex profit scalper EA) - tested profit $1.9M+
  • 25/05: propellerads.com scamming customers.
  • 25/05: BEST Binary Options Indicator 70% Winning Signals
  • 25/05: 2019/5/20 profit +236 $
  • 24/05: Re-quote and slippage
  • 24/05: difference between
  • 24/05: MACD With Colored Histogram And 2 Lines
  • 23/05: forex gump
  • 23/05: Forex is a world platform
  • 23/05: EA-Budak-Ubat-v1.51- (updated over $47,000 profit)
  • 22/05: It is actually essential
  • 22/05: Big trend indicator--BBands_Stop_V6.2
  • 22/05: CCI Cross Grid
  • 22/05: SFE Price Action
  • 22/05: scalper banana
  • 21/05: 3TF EA - (tested with over $187,000 (74,900%) profit)
  • 21/05: Beware of a new BinaryTilt Forex scam?
  • 21/05: Know your trading areas
  • 21/05: GBPUSD - (tested with over $186,000 (53,100%) profit)
  • 21/05: ThunderBird Ea - (tested with over $5,100 (1000%) profit)
  • Online Users & Stats

    • Total number of registered users: 33,665
    • Newest registered user: wowos202011
    • Total number of topics: 11,983
    • Total number of posts: 38,624

    Online users: 1,666 guests, 133 Members:

    617058048, 777legrand, admin, agbatoadesina, agnivo, ahmed_maneim, aidrissa, aishaaamir009, akhlaghi.mehdi, akkermann, akusikah, Ala Abukoush, albertorf88, andydrae67, apachebios, axel7969, b78sandeau, Benewende20, betuboxem, biriant, BotFXLLC, Bottomdollar, boy_sb, bryceegoh, cheryworldbaby, chi2ndu, chonsutunonline, Chuah Hooi, cozzhoh, Cretu Vasile, CY, dartjohn71, Davecool168, Dewa Unplugged, dgm31178, dinkokaraval4ev, dnv, dreamscape9999, duraiganeshib, EAInspirer, elielsonshofar, expertadv, eyemediauae, faizal_45, felblessed, forexhou, franck0naka, Gana Nathan C, ghraiano, girandollar1, Gys Burger, Hafiz Tingtong, helloenkhbold, hunt4pp, imoneyalert, jammer, Jananu, jaysonajax, jbarrero22, jmvr30i, john.solgaard, johndouglas888, Jordan Pritchett, joskerone, jstnfk, juri-petro, jyameogo87, Khwanchai Rattanasiraphapa, kozura, lars2400, lawrencetownsendnz, LCS68, machs_nochmal, MarianNick123, martinfousek67, masterblack, Meraj Shaikh, migtab, miguel.granalacant, mohammed_noushad, Musa Fir, MyForexT, Nabil Nabil Herradi, otari, oxford.maurer, Pacung Sukanaya, pawelandrzej42, Pegaso, pipup, Por Urakawa, power10, Profit Forex, putera_kuis85, Rafael Garcia Lendinez, ramdi.abdellah, rikoputra300, sand_storm_69, sdsdzk, sergioh, sinaosja, spaidar, stevenryuken, stormplus7, sudheera, SunBro, tdeliev, Tesla25, tintunoo, tradingralf, Tru FX, umalilob, unotyanno1, Ursula Angeli, vic888, Victoriano, vitalisgreat, vufx1972, walid.ammami, Waliu Ajose, Wanchai Phopan, wgaitan2017, widadi, wowos202011, xperya, yahavuzan, yehia318i, Yibble, zhaoxia, Zoltan0013, احمد محمد علي, معتز فضايه فضايه بقجه, りね れぼv, 김진욱

     


    NOTE: Hacked or illegal versions of copyrighted Forex robots are highly prohibited on MT4talk.com. If you upload any illegal version of any copyrighted Forex robot, your forum account will be banned. No exceptions.

     

    IMPORTANT: MT4talk.com is a public Forex forum, where forum members can upload open source Forex robots to share with other members. MT4talk.com forum does not sell or rent Forex robots, and does not provide guarantee or support for the uploaded Forex robots! If you have any question about any Forex robot, please open a forum topic! If you have a question about your forum account, contact: mt4talk@gmail.com

    CFTC RULE 4.41 – HYPOTHETICAL OR SIMULATED PERFORMANCE RESULTS HAVE CERTAIN LIMITATIONS. UNLIKE AN ACTUAL PERFORMANCE RECORD, SIMULATED RESULTS DO NOT REPRESENT ACTUAL TRADING. ALSO, SINCE THE TRADES HAVE NOT BEEN EXECUTED, THE RESULTS MAY HAVE UNDER-OR-OVER COMPENSATED FOR THE IMPACT, IF ANY, OF CERTAIN MARKET FACTORS, SUCH AS LACK OF LIQUIDITY. SIMULATED TRADING PROGRAMS, IN GENERAL, ARE ALSO SUBJECT TO THE FACT THAT THEY ARE DESIGNED WITH THE BENEFIT OF HINDSIGHT. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFIT OR LOSSES SIMILAR TO THOSE SHOWN.

    Disclaimer - No representation is being made that any Forex account will or is likely to achieve profits or losses similar to those shown on backtests in this forum. In fact, there are frequently sharp differences between hypothetical performance results and the actual results subsequently achieved by any particular trading program. Hypothetical trading does not involve financial risk, and no hypothetical trading record can completely account for the impact of financial risk in actual trading. 
    All information on this forum is for educational purposes only and is not intended to provide financial advice. Any statements posted by forum members about profits or income expressed or implied, do not represent a guarantee. Your actual trading may result in losses as no trading system is guaranteed. You accept full responsibilities for your actions, trades, profit or loss, and agree to hold the MT4talk team and forum members of this information harmless in any and all ways.


    Copyright MT4talk.com Forum Rules - Privacy Policy.