Protection indicator
- Experts: Renko Scalper
- Frequently Asked Questions about the Signals service
- Multi Timeframe Indicators
For example, what about the following method using "GlobalVariable"?
string GV_name = "Protect"; string indicator_name = "Indicator.ex5"; int days_available = 7; datetime last_time; if (GlobalVariableCheck(GV_name)) { last_time = (datetime)GlobalVariableGet(GV_name); if (last_time + days_available * 86400 < TimeCurrent()) { ChartIndicatorDelete(0, 0, indicator_name); } } else { GlobalVariableSet(GV_name, (double)TimeCurrent()); }
"GlobalVariable" disappears after a month or so since the last access.
For example, what about the following method using "GlobalVariable"?
"GlobalVariable" disappears after a month or so since the last access.
Any user can delete the global variable. Try pressing F3 in the terminal.
Any user can delete the global variable. Try pressing F3 in the terminal.
I didn't know that.
But the seller doesn't have to inform the user about it.
If the user doesn't know about it, it's valid. Don't you think so?
It's probably useless now that you've took about it.
Thank you but it will not serve me