cryptex:
hi all,
need a little help
the code is:
<CODE REMOVED>
Please edit your post . . .
here i want a condn that would compare the current price with the price at which the last open position was executed + fixed profit margin say USD EUR bought@1.3299...i wanna compare if the current price is 1.3369....if so, the existing order should close
So what's your problem?if (Bid > OrderOpenPrice() + 10 * pips2dbl){ ..Since there are no slaves here, you have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt and the nature of your problem.

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 all,
need a little help
the code is:
basically its a scalping EA. timeframe 5/15/30 min. the algo is like if certain conds are satisfied enter into trade and exit after a few pips say 10 pips. the EA should compare 10+entry price. i am having trouble getting the price at which i entered into the trade into a variable. any help???