AccountFreeMargin() provides current value only.
If you want to know past value, there are two choices:
1. Going forward, collect values you will want to reference in the future, and store them (easier)
2. Calculate past values by examining trade history (more difficult)
phy wrote >>
AccountFreeMargin() provides current value only.
If you want to know past value, there are two choices:
1. Going forward, collect values you will want to reference in the future, and store them (easier)
2. Calculate past values by examining trade history (more difficult)
Thx for your help Phy.

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
Anyone has a clue about how to check the previous bar AccountFreeMargin ?
It is working well to avoid trading twice on a bar for now using the following:
but I cant figure out how to have the same for the previous bar because I dont want the system to open a trade on bar T and then on the next bar T+1 right away.
I have tried the following:
but obviously it is not working......
can somebody help ?
thx and regards,
Movingaverage