
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
yea i want 10 pips.
and also check this condition i have added if am right..............
Please don't post code with a stray }
it is confusing
Try your EA in the strategy tester and you will see if you are right or not
} -- WHRoeder pointed it out and i have corrected it thanks for noting.
i think WHRoeder: is right in his point about point and pips,now high is gotten i think pips should be considered
now see how i calculated my pips since high is gotten am i right..........
remember my_pips is added in extern double my_pips =10; and also have not calculated to fit 5digit brokers i will add that latter.I have no idea what you are trying to do
You get the value for highest_open_price in the first loop
Then you loop through the orders again and give it a different value
why?????
I have no idea what you are trying to do
You get the value for highest_open_price in the first loop
Then you loop through the orders again and give it a different value
why?????
am sorry that a mistake i was about to rewrite it before i saw your post. just worked on it more to change it to tick value......
now i use tick value to calculate pips.....
thanks for your corrections i appreciate.
now i joined the code together highest is gotten pips is gotten...
then i back tested it but the result didn't match the code why? am i missing something is there any condition
i still need to add to the code or is it because market i closed...thanks
or should double PipDecimal = (MarketInfo(Symbol(),MODE_DIGITS)); be considered .
Without the curly braces, a new trade will be opened every tick
that's great! it worked well... perfectly spotted.
but the only problem is during second order it continue opening multiple order again after first successful order opened well..
please is there anything i did wrong.