TradeMAE Only valid when the trade is open. Why?

Posted By: GPEngine

TradeMAE Only valid when the trade is open. Why? - 10/20/14 14:43

TradeMAE
Maximum adverse excursion, the maximum price movement in adverse direction of the trade. Only valid when the trade is open.
http://zorro-trader.com/manual/en/trade.htm

Why is it only valid when the trade is open? It's not obvious to me.
Posted By: GPEngine

Re: TradeMAE Only valid when the trade is open. Why? - 10/20/14 14:49

Also, what are the units of TradeMAE values?

In practice, I see very small values for closed trades in GBP/AUD
0.007787
0.000064
0.005661
What are the units of these values?
Posted By: jcl

Re: TradeMAE Only valid when the trade is open. Why? - 10/20/14 17:10

The unit is asset price movement. But I don't know either why they are not valid anymore when the trade is closed - I'll check.
Posted By: jcl

Re: TradeMAE Only valid when the trade is open. Why? - 10/20/14 17:14

Ok, they remain valid in the current Zorro version, so you can read them even after the trade is closed. They lost their content in an old version because the variables were reused for other content.
Posted By: GPEngine

Re: TradeMAE Only valid when the trade is open. Why? - 10/21/14 01:49

Great. Thanks!
Posted By: GPEngine

Re: TradeMAE Only valid when the trade is open. Why? - 10/21/14 02:15

How would I convert that into units of the account currency? so it has the same sense as TradeProfit
Posted By: jcl

Re: TradeMAE Only valid when the trade is open. Why? - 10/21/14 10:41

With the "TradeUnits" variable.
© 2024 lite-C Forums