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
okay you want to see all buy/sell profit of open orders?
set terminal to 'All History'
call function
reference global variables
Thanks for the the help. it works, but it only pulls the info from the last open trade. Is there away to get all the open trades? Plus I am confused on how to get the closed profit amount. I know you change MODE_TRADES to MODE_HISTORY, but I am not getting any info. As you can tell I am fairly new to the coding scene.
heres what i do to find my pips for the day
i m finding problem in closing a trade with profit...can someone plz throw a code on it
like the buy trade or sell trade should close in profit excluding broker spread comission etc..bt should end in profit..