double PendingBufferPips = 10;//Declare this somewhere you can find it easily so you can play around with the buffer
double BuyStopPrice = iHigh(Symbol(), PERIOD_H1, 1) + (PendingBufferPips * Point);
Or, if you have had the sense to come to grips with and use Paul's pip factor code from my shells:
double PendingBufferPips = 10;//Declare this somewhere you can find it easily so you can play around with the buffer
double BuyStopPrice = iHigh(Symbol(), PERIOD_H1, 1) + (PendingBufferPips / factor);
Great to see you making progress.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Don't know. Not a mind reader. No idea what you have coded. How could I?
what i mean is iLow(NULL,PERIOD_H1,1) <-- will always return 0 for me even if its the only code in the start loop.
I will figure it out though thx for the reply.
Make sure you are calling iLow with a double i.e.
double CandleLow = iLow(NULL,PERIOD_H1,1);
These days, I do not trust NULL, and so always make the call
double CandleLow = iLow(Symbol(),PERIOD_H1,1);
If that doesn't work then you are stuffed. Delete the platform and reinstall it somewhere else. Always somewhere else to make sure you are not merely reinstalling on top of rubbish that is not removed by the reinstalation.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
double PendingBufferPips = 10;//Declare this somewhere you can find it easily so you can play around with the buffer
double BuyStopPrice = iHigh(Symbol(), PERIOD_H1, 1) + (PendingBufferPips * Point);
Or, if you have had the sense to come to grips with and use Paul's pip factor code from my shells:
double PendingBufferPips = 10;//Declare this somewhere you can find it easily so you can play around with the buffer
double BuyStopPrice = iHigh(Symbol(), PERIOD_H1, 1) + (PendingBufferPips / factor);
Great to see you making progress.
Thank you Steve , I'll get down to work.
Cheers and have a nice day
Hello, sorry if this is a noob question
I want to know if an EA can withdraw a not filled pending order made by itself when an opossite signal appears, is it possible to achieve?
fxcba » Sat Mar 14, 2015 9:10 am wrote:Hello, sorry if this is a noob question
I want to know if an EA can withdraw a not filled pending order made by itself when an opossite signal appears, is it possible to achieve?
Yes, the function to use is OrderDelete(), with the ticket number of the pending order.