i have wrote some code for indicators and i wanted to add time bar protection , like indicator will stop working in 1 month or so .. how can i do it ?
- How to fix this error
- how do i put this code into my indicator to protect it
- please help me to put buy and sell arrow on this code.
struct MqlDateTime { int year; // Year int mon; // Month int day; // Day int hour; // Hour int min; // Minutes int sec; // Seconds int day_of_week; // Day of week (0-Sunday, 1-Monday, ... ,6-Saturday) int day_of_year; // Day number of the year (January 1st is assigned the number value of zero) };
https://www.mql5.com/en/docs/constants/structures/mqldatetime
Documentation on MQL5: Constants, Enumerations and Structures / Data Structures / Date Type Structure
- www.mql5.com
Constants, Enumerations and Structures / Data Structures / Date Type Structure - Reference on algorithmic/automated trading language for MetaTrader 5
i need source code to add time bar protection for indicator , the above one is not helpful
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