PipMaker v1 - Price action based EA - page 133

 
Linuxser:
You need to install the i-trend indicator: https://www.mql5.com/en/forum/178691

thanks

It has been installed.

 

hello:

sorry for my poor english.

i-trend indicator work slow. I has modified it as i-trend_soro.

please test it,and figure out the error.

thanks,

//+------------------------------------------------------------------+

//| iTrend.mq4 |

//| Copyright ?2004, MetaQuotes Software Corp. |

//| http://www.metaquotes.net |

//+------------------------------------------------------------------+

#property copyright "Copyright ?2004, MetaQuotes Software Corp."

#property link "http://www.metaquotes.net"

//----

#property indicator_separate_window

#property indicator_buffers 2

#property indicator_color1 LimeGreen

#property indicator_color2 Red

//---- input parameters

extern int Bands_Mode_0_2=0; // =0-2 MODE_MAIN, MODE_LOW, MODE_HIGH

extern int Power_Price_0_6=0; // =0-6 PRICE_CLOSE,PRICE_OPEN,PRICE_HIGH,PRICE_LOW,PRICE_MEDIAN,PRICE_TYPICAL,PRICE_WEIGHTED

extern int Price_Type_0_3=0; // =0-3 PRICE_CLOSE,PRICE_OPEN,PRICE_HIGH,PRICE_LOW

extern int Bands_Period=20;

extern int Bands_Deviation=2;

extern int Power_Period=13;

extern int CountBars=300;

//---- buffers

double value[];

double value2[];

//-----global parameters

int Bands_Mode = 0;

int Power_Price = 0;

int startbar = 0;

//+------------------------------------------------------------------+

//| Custom indicator initialization function |

//+------------------------------------------------------------------+

int init()

{

// string short_name;

//---- indicator line

IndicatorBuffers(2);

SetIndexStyle(0,DRAW_LINE);

SetIndexStyle(1,DRAW_LINE);

SetIndexBuffer(0,value);

SetIndexBuffer(1,value2);

if(Bands_Period>Power_Period)

{

startbar = Bands_Period;

}else

{

startbar = Power_Period;

}

SetIndexDrawBegin(0, startbar);

SetIndexDrawBegin(1, startbar);

if (Bands_Mode_0_2==1) Bands_Mode=MODE_LOW;

if (Bands_Mode_0_2==2) Bands_Mode=MODE_HIGH;

if (Bands_Mode_0_2==0) Bands_Mode=MODE_MAIN;

if (Power_Price_0_6==1) Power_Price=PRICE_OPEN;

if (Power_Price_0_6==2) Power_Price=PRICE_HIGH;

if (Power_Price_0_6==3) Power_Price=PRICE_LOW;

if (Power_Price_0_6==4) Power_Price=PRICE_MEDIAN;

if (Power_Price_0_6==5) Power_Price=PRICE_TYPICAL;

if (Power_Price_0_6==6) Power_Price=PRICE_WEIGHTED;

if (Power_Price_0_6==0) Power_Price=PRICE_CLOSE;

//----

//----

return(0);

}

//+------------------------------------------------------------------+

//| Trend |

//+------------------------------------------------------------------+

int start()

{

// SetIndexDrawBegin(0,Bars-CountBars+Bands_Period+1);

// SetIndexDrawBegin(1,Bars-CountBars+Bands_Period+1);

int limit;

int counted_bars=IndicatorCounted();

double CurrentPrice;

//----

if(Bars <= startbar) return(0);

//---- initial zero

// if(counted_bars<Bands_Period)

// {

// for(i=1;i<=Bands_Period;i++) value=0.0;

// for(i=1;i<=Bands_Period;i++) value2=0.0;

// }

//----

if(counted_bars > 0) counted_bars--;

limit = Bars - counted_bars;

// if(counted_bars>=Bands_Period) i=Bars-counted_bars-1;

//----

for(int i = 0; i < limit; i++)

{

switch (Price_Type_0_3)

{

case 1: CurrentPrice=Open;

break;

case 2: CurrentPrice=High;

break;

case 3: CurrentPrice=Low;

break;

case 0: CurrentPrice=Close;

break;

default: CurrentPrice=Close;

break;

}

//----

value=CurrentPrice-iBands(NULL,0,Bands_Period,Bands_Deviation,0,Bands_Mode,Power_Price,i);

value2=-(iBearsPower(NULL,0,Power_Period,Power_Price,i)+iBullsPower(NULL,0,Power_Period,Power_Price,i));

}

return(0);

}

//+------------------------------------------------------------------+
Files:
 

hedge struck situation

Hi

i have tested the pipmaker_v15_1 (default paramaters) on gbp/usd using the dates someone posted 2-3 pages back.

the huge rise on 8th march and then a drop to the level by 19th march caused a hedge lock with a -$3800 loss though it saved itself from a drawdown as it kept on opening buy orders to get it self out in the profit.

can somebody look into it and see if that is avoidable.

thanks for such a great EA

Harry

Files:
 

Pipmaker V5 nero

I have been using version 5 for a little bit and the major problem I find is that it has no stop loss, what version has a stop loss ?? Because if this thing is on the wrong end of the trade it will not close it out until you are wiped out !!

Thanks

Bundy

 

You are looking for an Ea called Fxpromaker.

It makes what you want.

Do you know this EA and are you tryng to gat a free copy?

lol!

wmorais:
Hi Enforcer,

Thanks for your hard work in developing Pipmaker 15.1

I have been studing this EA for a long time.

In my experiments I only use eurgbp in Asian session, when we have low volatility and almost no news affecting eurgbp.

My demo micro account on IBFX give me 15 to 23% each month with 10 to 15% DD.

I would like to know if you can do this little changes in pipmaker 15.1, to improve my experiments:

1) open 2 orders in oposite direction (buy and sell at same time, like early versions of Pipmaker) without using any kind of indicator.

2) once an order is closed (due reaching its target profit), open it again.

3) allow to make the EA running at especific time (eg: 12h to 24h at every day).

4) add the option to use profit target in pips too. The trader would have option to use profit target in dolar or pips.

5) and the most important: when using pausetrading=true (or ceasetrading=true) make the EA to continue in martingale mode (doubling the lots on buy, sell or both) until the profit target is reached. Cease trading (until next day) when target is reached.

I think this kind of approach is called bi-directional martingale.

Sorry my poor English.

Thanks in advance.

Wmorais
 

anybody got good M1 or any short TF setting?

 

a bug?

I think I have find a bug of Pipmaker_V15_1.mq4.

when I test it with EURJPY at H1, it can not close the lots, because the buyprofit+sellprofit never reaches the rull.

See the picture.

Files:
2896138988.jpg  318 kb
 

here is my setting for the test.

 

Is not a bug, is a limit.

Increase number of max allowed orders (default 10 buy and 10 sell) for direction you desire, or both.

 
Enforcer:
Is not a bug, is a limit. Increase number of max allowed orders (default 10 buy and 10 sell) for direction you desire, or both.

it worked!

Reason: