zinferno:
Hi I'm just new in mql4 programmer. I try to find the different pip between Open[1] with Close[1].
My plan is :
<CODE REMOVED>
Please read some other posts before posting . . .
Please edit your post . . . please use the SRC button to post code: How to use the SRC button.
Do you mean Pip or Point ?
zinferno: I try to find the different pip between Open[1] with Close[1].
double pipDifference = (Close[1] - Open[1]) / pips2dbl; |
if( Close[1] > Open[1] + 20 * pips2dbl ) ... |
double pips(double delta){ return( delta/pips2dbl); } : if( pips(Close[1] - Open[1]) > 20 ) ... |
pips2dbl: 4/5 digit and ECN brokers
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi I'm just new in mql4 programmer. I try to find the different pip between Open[1] with Close[1].
My plan is :
if(pip value(different between Open[1] with Close[1]) > 20 pip)
{
OrderSend();
}