V1andV2 Hedged EA: Beautiful Equity Curve - page 26

 

gBolla can you define the variables because i think there is some problems in the code... Im not really sure what they are trying to do...

Pct_Lot

Pct_Equity

Balance

And what defines the maximum amount of levels aloud to open... Like for example i want it to open as many levels as it can for a 50,000usd account...

Or maybe say open 16 levels only 10 pips apart instead of 20 and the multiplier be 1.5x per level instead of 2...

 

Max Lot=AccountEquity/Pct_Lot/100 --> so if your account is 500$ and use Pct_Lot=10 max lots allowed will be 500/10/100=0.5. You start from 0.01 lot and so you can open max 0.01+0.02+0.04+0.08+0.16 for buy and 0.01+0.02+0.04+0.08 for sell (or viceversa) (Sum=0.01+0.02+0.04+0.08+0.16+0.01+0.02+0.04+0.08=0.46<0.5!)

If you think that isn't enought because the trend is strong, try to use low Pct_Lot (es.:5, 2 or 1).

InitLot=AccountBalance/Balance/100 if Initlot<0.01 then Initlot=0.01

So if your account is 500$ and choose Balance=1000$, you start with an initail lot=0.01 and when your account reach 1000$ your initial lot=0.02 and so on every 1000$ gained.

If your Equity rise by Pct_Equity (in %) then close all orders.

Ciao

Bolla

 

ok ok i understand now... thank you...

would you mind looking through the code because i believe there is a problem where the multiplierL and multiplierS is... when you set them 2 then it gets funky... Like i would like to set the multiplier to 1.5 and something goes wrong...

 
cucurucu:
Tomorrow I will post my 3 months statement.

Very much looking forward to seeing this! Thank You.

 

i opened a $500 account. I wanted suggestions as to which EA to use on it.

bless fifthelement or V1+V2.

please advise

thank you

 

if the equity increase by 5%, will the EA closed all open positions of all pairs?

 

try on EURGBP.. this pair has been ranging for years..

 

how to modify this line to become 0.01, 0.01, 0.02, 0.04 and etc

for (j=0;j<T;j++) {LotsB=MultiplierL*LotsB;n_lot=n_lot+LotsB;TPL=TPL+Pips_ShiftL;XL=XL+Pips_ShiftL;}

for (j=0;j<B;j++) {LotsS=MultiplierS*LotsS;n_lot=n_lot+LotsS;TPS=TPS+Pips_ShiftS;XS=XS+Pips_ShiftS;

 
teldon:
i opened a $500 account. I wanted suggestions as to which EA to use on it.

bless fifthelement or V1+V2.

please advise

thank you

Hold your horses, unless you like the risk like me. This EA needs some extra work to be ready

 

is it possible to make lot size step customizeable?

Reason: