This indicator counts the number of seconds since a trade (long or short) is open.
This indicator uses MC function "I_MarketPosition_At_Broker" so the use of this indicator relies on the following requirements:
a) MultiCharts shall be connected to the broker (possibly in demo mode)
b) A MultiCharts signal shall be active (possibly a "void" signal with only comments inside, and no instructions)
c) MultiCharts AutoTrading mode shall be activated
Note: this AutoTrading mode is required only for the use of MC function "I_MarketPosition_At_Broker" but you do not need to perform autotrading. This indicator works also with discretionary trading.
Warning. This indicator is updated at each tick (and not at each second). So, if there are not a lot of transactions (a new tick each few seconds and not several ticks per second), there is a risk that the timer does not fluidly.
How does it work? When "I_MarketPosition_At_Broker" becomes non-null, the indicator takes note of the hour of the computer. Then, at each ticks, it reads again the current time of the computer, compares it to the noted time (of the computer), and displays the difference.
Do not forget to tick Properties / Update on every tick in MultiCharts for this indicator.
Related discussion thread: https://nexusfi.com/elite-circle/17730-multicharts-indicator-number-seconds-trade-trade-timer.html
Category The Elite Circle
|
|
|