Serving Traders Since 2005
|
|
|
|||||||
| MetaTrader Indicators Post and discuss the MetaTrader indicators here. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Quote:
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account. |
|
||||
|
Hi Enivid,
thank you for your answer but unfortunately doesn't resolve my problem. I haven't mentioned of refreshing at every tick, it would be useless for this indicator to do so, I have no refresh at period change, have a look at 1234.png that is the situation before period change and 1235.png is after the period change without manual refresh, and finally the 1236.png is after refresh on the current period (which is the correct representation). This happens on all timeframes. Can this help to understand? There is any possibility to tell the indicator code to refresh at period change? Let me know Thank you Have a nice day g.org CH |
|
||||
|
Quote:
if (prevbars==Bars) return(0);
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account. |
|
||||
|
Quote:
if (prev_calculated == rates_total) return(rates_total);
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account. |
![]() |
| Bookmarks |
| Tags |
| indicator, metatrader, moving average, mt4 |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|