Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Thanks man you rock
Ok, can you change your file you posted above or just delete it.
Thanks man
Ok, can you change your file you posted above or just delete it. Thanks man
:) They always look good in Backtest don't they
lol
I'm Just MWF ( Mess'in With Forex) Playing around with some ideas
I know I am old school from back in the punch card days but there is no need to do the same thing twice!
if((Close[1]-Open[1])/Point >= PipDifference ) Order= SellSignal;
if((Close[1]-Open[1])/Point <= -PipDifference ) Order=BuySignal;
[/code]
should be
[code]
double ClOp = (Close[1]-Open[1])/Point ;
if( ClOp >= PipDifference ) Order= SellSignal;
if( ClOp <= -PipDifference ) Order=BuySignal;
Not to mention, it is faster to change if you want to modify the formula for ClOp!
I know I am old school from back in the punch card days but there is no need to do the same thing twice!
if((Close[1]-Open[1])/Point >= PipDifference ) Order= SellSignal;
if((Close[1]-Open[1])/Point <= -PipDifference ) Order=BuySignal;
[/code]
should be
[code]
double ClOp = (Close[1]-Open[1])/Point ;
if( ClOp >= PipDifference ) Order= SellSignal;
if( ClOp <= -PipDifference ) Order=BuySignal;
True, that would work to
Ah, well, enough fun, gotta get a beer and grab a bite.
Later dudes
Happy Canada Day (if your in Canada
)
I know I am old school from back in the punch card days but there is no need to do the same thing twice!
if((Close[1]-Open[1])/Point >= PipDifference ) Order= SellSignal;
if((Close[1]-Open[1])/Point <= -PipDifference ) Order=BuySignal;
[/code]should be
[code]
double ClOp = (Close[1]-Open[1])/Point ;
if( ClOp >= PipDifference ) Order= SellSignal;
if( ClOp <= -PipDifference ) Order=BuySignal;