PipMaker v1 - Price action based EA - page 156

 

adjusted time frame

OK here are adjusted time frame from last post with xpma off.

However that's not good result because dd is too big.

other thing is here still working buy and sell options ON.

Sun is that finish (nfa regulations) so only buy or only sell should be ON.

As long we don't have some god automatic to do that job manual action are required!

 

code

Enforcer:
here your requested v9 with proper xpMA indicator. Indicator works as an confirmation to previous logic, so a buy is opened only if xpMA say so too.

Enforcer

i kindly ask you to explane me what is meanngs of last two numbers in x1 or x2 iCustom line

and also what is meanings of 2147483647 number?

Files:
xpma.txt  1 kb
 

Last 2 numbers:

indicator's buffer index and shift(0= current bar, 1= previous bar,2= 2 bars ago, and so on)

2147483647 - is maximum amount can be returned by a signed int type

unsigned type int =2^32 =4294967296. (range 0 to 4294967296)

signed type int= 2^32 /2 -1 = 2147483647.(range -2147483647 to 2147483647)

not very sure why indicator return this value, maybe MT return max possible value if condition is true and is not specified other value.

 

light

Enforcer:
Last 2 numbers:

indicator's buffer index and shift(0= current bar, 1= previous bar,2= 2 bars ago, and so on)

2147483647 - is maximum amount can be returned by a signed int type

unsigned type int =2^32 =4294967296. (range 0 to 4294967296)

signed type int= 2^32 /2 -1 = 2147483647.(range -2147483647 to 2147483647)

not very sure why indicator return this value, maybe MT return max possible value if condition is true and is not specified other value.

I don't know how you get indicator return value (experimental or is possible to see somewhere)

However some light is come in dark tunnel of codes.Appreciate very much.

Thank you

 
freedom131477:
I don't know how you get indicator return value (experimental or is possible to see somewhere)

However some light is come in dark tunnel of codes.Appreciate very much.

Thank you

Simple, or read thru code to see output modes, or (especially if don't have source code) by creating a dummy EA, and call indicator for each buffer.

In this case, look at indicator's code:

#property indicator_buffers 4[/CODE]

so, in dummy EA put:

[CODE]double x1=iCustom(NULL,0,"xpMA",0,0);

double x2=iCustom(NULL,0,"xpMA",1,0);

double x3=iCustom(NULL,0,"xpMA",2,0);

double x4=iCustom(NULL,0,"xpMA",3,0);

Comment("x1 "+x1+"\nx2 "+x2+"\nx3 "+x3);

and run tester in visual mode with indicator attached and see when a buffer output a value or not and what exactly is that.

 

genius

Enforcer:
Simple, or read thru code to see output modes, or (especially if don't have source code) by creating a dummy EA, and call indicator for each buffer.

In this case, look at indicator's code:

#property indicator_buffers 4[/CODE]

so, in dummy EA put:

[CODE]double x1=iCustom(NULL,0,"xpMA",0,0);

double x2=iCustom(NULL,0,"xpMA",1,0);

double x3=iCustom(NULL,0,"xpMA",2,0);

double x4=iCustom(NULL,0,"xpMA",3,0);

Comment("x1 "+x1+"\nx2 "+x2+"\nx3 "+x3);

and run tester in visual mode with indicator attached and see when a buffer output a value or not and what exactly is that.

Enforcer you are genius

thanks and thanks again

 

trading time values for all pairs

What is the 16-25?

Does anyone have time settings for the other pairs?

I do not know how to set any of the times for any of the other pairs.

Gary

freedom131477:
hi

all setup data are on strategy tester( those htm file attached) on top as well as currency pair time frame etc...

here are my last experiment on the same time frame -time period as before

1 hour-euro-usd-16 to 25.03
 
alpine4133:
What is the 16-25?

Does anyone have time settings for the other pairs?

I do not know how to set any of the times for any of the other pairs.

Gary

16-26.03 is date of my back test.So i back test for those example 16 march to 25 march.

For all pairs i like to use 1 hour time frame just to have better view of trend.

hope it helps

 
alpine4133:
This EA is really working well for me. However I am not real comfortable since I do not understand all the settings in the indicator. Do you have a document that explains the settings. Mine is doing good, but if I go live with it maybe I can adjust some of the settings for me to make it better. my email is alpine4133@hotmail.com

some of settings

AccountType = 2; //0: Standard account(NorthFinance,MiG,Alpari) 1: Normal account(FXLQ,FXDD) 2:InterbankFX's NANO Account

pip_AllowRecovery = true; //enable/disable loss management

pip_MaxLoss = 20; //maximum loss in usd to trigger recovery

pip_ExitAllTrades = true; //Close all open orders

pip_StopTrading = true; //stop trading if loss management was triggered

pip_PlaceRecoveryOrders = true; //Use counter orders to get in profit

pip_MaxRecoveryOrders = 2; //max extra orders to use for recovery

pip_RecoveryTakeProfit = 5; //take profit in points

pip_RecoveryStopLoss = 200; //stop loss in points

pip_RecoveryLotMultiplier = 1; //lot size is auto calculated for USD based pairs. Increase or decrease according to pair used.

pip_RecReverse = false; // reverse direction of recovery trading

how you test -back test or forward?

could you post your test result?

 

set

Alpine

here are set files

load that on ea

post results

thanks

Files: