PipMaker v1 - Price action based EA - page 43

 
duyduy:
Cause is short of "because"

Parisiene is the person who modified Neo version to Enchanced version

Sorry, english is not my mother language.

Thanks to Parisiene, I have problem with EA.

My initial lot is 2 lot

I set multiplier to 0 and lot increment 0.1

On next position it should open 2.1 lot but the EA open 4.1 lot.

U can see in my statement.

I try different setting too

Initial lot is 1 lot, multiplier 0 and lot increment is 0.5

Next position should open 1.5 lot, but it open 2.5 lot.

It's on my last statement too

Is there something I missed?

I can't set the multiplier to 1.5

Only can set 1 or 2 or 3 ..so on

Anybody can change it?

I don't know about the EA but on a mathematical point of view to do what you want yo should have a multiplier = 1, because 2*1 + 0.1 = 2.1 not 2*0 !

maybe with zer0 it takes a default at 2?

Just an idea

 
matrixebiz:
On your chart you have some gbpusd sell and eurusd sell. I thought one had to be buy and one had to be sell ??

NFP result in sell in GU and EU

So I take "sell only" on both pair.

It's up to u if u want to set buy

 
jlpi:
I don't know about the EA but on a mathematical point of view to do what you want yo should have a multiplier = 1, because 2*1 + 0.1 = 2.1 not 2*0 !

maybe with zer0 it takes a default at 2?

Just an idea

Thanks for that, i'll try it with setting to 1

 
duyduy:

Initial lot is 1 lot, multiplier 0 and lot increment is 0.5

Next position should open 1.5 lot, but it open 2.5 lot.

It's on my last statement too

Is there something I missed?

I can't set the multiplier to 1.5

Only can set 1 or 2 or 3 ..so on

Anybody can change it?

Also you could try changing the code;

extern bool TradeLong = false;

extern double LotSize = 0.1;

extern int Multiplier = 0;

I was told before that

bool is used for True/False variables

double is used for decimal numbers

int is used for whole numbers

Try changing;

extern int Multiplier = 0;

to

extern double Multiplier = 0;

 

I will have a go

If you post the ea here I will have a look at it. I couldnt see it in post 1.

I am no hotshot but max orders type coding is fairly simple.

 

Hi, duyduy thanks for the reports, I am interested to the setting and time frame that you have on INTERBANK.

Ciao Massimo

 
duyduy:
Anybody in here kindly can modify the Neo_EnhancedV1 EA, so there are maximum open position?

Because I know nothing about coding

Right know the EA has no maximum, so it can open many position. it consume margin..

If you edit the EA in MT4 you'll see the code is already there but hidden from user settings (About 66 lines down);

int MaxBuys = 0;

int MaxSells = 0;[/code]

You can either change it right there in the code then compile or change thoes line to; (then compile)

[code]extern int MaxBuys = 0;

extern int MaxSells = 0;

Then when you load the EA on the chart you'll be able to change thoes setting with all the other changeable settings.

 

Try this

Hi duyduy,

I didn't really agree with matrixebiz so I have made my own changes. I should have renamed it so you didnt get it mixed up with your others but down the bottom of the inputs you will see "MaximumBuyOrders" and "MaximumSellOrders".

I haven't tested it properly, just a quick buzz on the backtester seemed ok.

 
waltini:
Hi duyduy,

I didn't really agree with matrixebiz so I have made my own changes. I should have renamed it so you didnt get it mixed up with your others but down the bottom of the inputs you will see "MaximumBuyOrders" and "MaximumSellOrders".

I haven't tested it properly, just a quick buzz on the backtester seemed ok.

Hi,

i dont get any backtesting results for this EA - why?

 
waltini:
Hi duyduy,

I didn't really agree with matrixebiz so I have made my own changes. I should have renamed it so you didnt get it mixed up with your others but down the bottom of the inputs you will see "MaximumBuyOrders" and "MaximumSellOrders".

I haven't tested it properly, just a quick buzz on the backtester seemed ok.

Sorry, what do you mean? This option;

int MaxBuys = 0;

int MaxSells = 0;

is already in the original code, just hidden from user settings. I just explained how to add the "extern" code to make those settings user modifiable.