Hedge Calculator - page 10


Very clear and precious answer, thank you.


EA based on hedge at the beginning of every candle

Can everyone code this EA

Open hedge order at the beginning of every candle using this setting :

1- lots

2- takeprofit

3- stoploss

4- trailingstop

5- this option : open much more one order at the same candle :true or false

6- this option : close all trade at the end of every candle : true or false

7- martingale

8- maxlot

9- start hour

10- end hour


any indicators about hedge

Hi all,

First of all I like this web site and i thank people who contribute very much in this wb site..

Is there any indicators to hedge instead of putting stopp-loss when the trend goes down 20 or 30 pips after opening a trade? is it possible? or should i searh as a EA ?

have a good day

Hi all,

First of all I like this web site and i thank people who contribute very much in this wb site..

Is there any indicators to hedge instead of putting stopp-loss when the trend goes down 20 or 30 pips after opening a trade? is it possible? or should i searh as a EA ?

have a good day


I moved your post to this thread.

Also please, take a read to this sub-section. There are many indicators inside.

Half margin is only for hedged positions.

Available margin is how much margin do you have to keep opening trades or playing with your loses.

Hedge plays with position margin.

1 Lot Buy. Margin $50

1 Lot Sell. Margin $50

Total margin 100

1 Lot Buy. Margin $50.

Sell is Buy Hedge.

Total Margin 50

Hi, just a short question, for the hedged margin to work does the buy an sell have to be opened at the same price or does the broker allows several different buys and sells at different prices and calculates the margin only for the net result? Thank you!!!


1:3 Position

hallo trader maniac. i have suggestion for trading. as we does't know where the price goes, so we make trap by put 2 positition buy and sell for 1 lot. after that the price will move to one direction isn't it? 1 position must be profit, the other position must be in loss. plus spread offcourse.

then, this is new idea. after the price choose 1 derection, WE JUST WAIT THAT PRICE IS REALLY STRONG. we can use indicator such as ADX, ToR or ohters. we make the third position by 2 lot.

REMENBER, we only make third position after the price is really STRONG ( FILETER VIA INDICATOR).

THE LOGIC IS LIKE THIS; let say negatif 1 lot is 10, profit 1 lot is 10, minus spread. then we make third position lelt say by 2 lot, take a half of TP first TP such as TP is 5, so third TP was 5X2=10.

The total is -10, minus spread ( let say 4) = -14, then profit 10, 10 =

then 20 minus 14 is 6, THEN CLOSE ALL POSITION.

WHEN the direction against the third position, we have to know is it fake signal or not by using same indikator but higher point.

for example, to determine third position we use adx 20, then for posisiton 4, we use adx 23 or something else.

ANybody has same idea like me? OR strategy like this already availbale out there? IS MY STRAtegy common sense. Please any idea, support, or critics are welcome.

I just found this strategy by accident, never try manual before. but in my opinion, when you decide to climb himalaya, you must step 4, and break, step 4 move back sometime 1 , something like that until you reach the top.

so in this market, we don't know the price goes, just trap it, and make it double where the price goes.

I will not always monitor this forum as i live in village, so excuse me if I make you confuse, hope you can catch what i think. thank..

sorry for bad engglish too. sorry


How can I exit a hedge trade? Help, please!

I got caught very badly in a hedge trade, and I don't know what is the best way to exit it.

I opened a long trade in AUDNZD at 1.3520 and a short trade at 1.2130. Current price is 1.2947.

So if I close the hedge, the loss is 1390 pips. Ouch!

Any ideas on how to exit? I assume that I will have to bear some losses, but I wonder if there is a technique that may help to reduce them.

Thanks in advance for your help!


A Good Lesson From Hedge Manager

A Good Lesson From Hedge Manager

My name is R..... and I run a successful hedge fund that trades financial products.

I've gleaned through & absorbed many useful ideas (as advised by Punvit) & would like to share what I've learned through my successful trading career & one as a profitable baccarat player. After all, this is the purpose of this forum - exchange of ideas.

Therefore here is my 2 cents worth:

Trading vs Baccarat

Perhaps I should start with drawing analogies From managing a hedge fund to that of playing baccarat. As you read on, I hope the equivalence in the 2 above-mentioned activities will improve both you & me as a baccarat player.

Why 90% of traders lose $?

From my experience in trading, the formula to LOSE $ in trading is to do as follows:

1. Priorities on entries into investments (when to get in)

2. Followed by finding a way to exit investments (when to get out)

3. Places least importance to money management (how much to bet)

What 10% of profitable traders do to make $?

And this is what profitable traders do to WIN $:

1. We focus primarily on money management (how much to bet)

2. We then focus our attention to exits (when to get out)

3. Lastly we focus on when to get into investments (when to get in)

The reasons are simple:

1. Why money management first?

We want to have enough bankroll to trade forever. With the best trade exits & entries, a lousy money management strategy will not enable us to trade forever.

2. Why focus on exits rather then entries?

If you know when to get out, you will have the discipline & confidence to get in. This serves as an extremely important psychological advantage to profitable traders.

3. Why entries last?

Because if you have the first 2, this is the simplest.

Applying trading to baccarat

How did I become a profitable baccarat player? I applied the above rules! MM first, exits second, entries last.

The following will be guidelines for you to find your own formula. I rather not share my exact rules. It is the same when I teach my traders. With the guiding principles that I am going to give, modify them to suit your own style. Because you follow what is yours more than what belongs to others. This is another psychological edge we can have over the casinos. Get your hands dirty & work!

Here are my 2 cents worth of guidelines:

1. Money management

Have enough to play through at least 50 consecutive losses. As a profitable trader, I still do experience 10-20 consecutive losses once in a while before I recover.

Plan your bets in a way that functions like a rubber band: If you lose 30 times consecutively, get them back in less than 20 times. Am I suggesting a negative progression? Yes you are right! Think why casinos place a maximum bet limit - because gamblers who vary their bets win! I typically do a 1-2 progression. No more! You don't have to get everything recovered in 1 bet. You have your lifetime to recover!

2. Exits

I plan my exits before I walk into the casino. And I work based on a principle that works extremely well for me in trading - trailing stops.

For example, I would bring 3 sets of 3 units into the casino. Each set per shoe. Since I do a 1-2 progression, I would bet on my trigger until I experience 2 consecutive losses in a shoe. And I will move over to a new shoe. I would play 3 shoes each session. My max loss is -9 units/session. My max gain? I let it ride! It has worked so far.

3. Entries

I've heard so many people tell me each new game is 50/50. My advice is this - if you think its 50/50 or even a negative expectancy, DON'T PLAY.

So am I suggesting what i have has a positive expectancy? I BELIEVE so. Not because I have proven it theoretically, but it has practically made me $.

Think about it. Who has truly proven that gambler's fallacy is unworkable practically? Think about it. There are practically billions & billions of games being played since baccarat started. But what is the longest streak of something (be it B or P or singles, doubles etc.) that has been recorded? If each new game is independent, why not 1000 players, bankers or singles or doubles in a row, since our sample size of games are well into the billions or even zillions?

I'm a player that exploits variance or standard deviation. Basically, I play break of trends. Give you an example. BBBBBBBBP. I will play P on the next hand. Why? What is the variance or SD here? Variance = 9*0.5*0.5= 2.25. SD = 1.5. 8 bankers vs 1 player. We have nett 7 bankers. That is a whopping 4.67 SD From the mean! That is close to 100% confidence interval. Is this the only way I play? Nope! But the idea is there.


Trading & baccarat is not much different. But just focus on the profitable side of the curve. MM first, exits second, entries last. Keep it simple. Cheers!

I apologize to this bright mind hedge fund Manager guy but I couldn't resist to brake the copyright!

I hope he will not sue me.

Cheers Hermes


Ratio of 2 instruments

Has anyone coded an indicator where you can plot the ratio of two time series?

e.g. I would like to plot ratio of Gold to Silver. For that I need to take XAUUSD and divide it by XAGUSD.

or if I want to see the price of Gold in Swiss Francs, then XAUUSD multiplied by USDCHF.

Any feedback?


Neutral hedge overlay indicator neutralhedge_overlay_v4.ex4