non-standard time-frames work in Live Market? or it only for Offline chart?

Hello,

Article URL : https://docs.mql4.com/constants/chartconstants/enum_timeframes






These timeframe only work with offline start or it also work with live market?


MQL4:
if(iRSI(NULL,PERIOD_M1,14,PRICE_CLOSE,0)>overbought)
   OrderSend(x,x,x,x);

This works fine. But these additional time-frame will work for live market?


MQL4:
if(iRSI(NULL,PERIOD_M2,14,PRICE_CLOSE,0)>overbought)
OrderSend(x,x,x,x);
No, they don't. I'm not even sure you can use them for offline charts in MT4. Those timeframe constants are included for the code compatibility purpose.
 
  • 👍
Reactions: shanmugapradeep
Non-standard timeframes can work in the live market, but it depends on your platform and data feed. For example, MetaTrader 4/5 doesn’t support custom timeframes natively in live charts — you’d need indicators or scripts to simulate them. Platforms like TradingView or NinjaTrader offer more flexibility.

Offline charts are often used to build custom timeframes (like 2-minute or 3-hour) using exported data, but they won’t update in real time unless you’ve coded a workaround.

✅ If you're scalping or testing algo strategies, custom timeframes can offer unique insights — just make sure your setup supports live updates if that’s what you need.

Anyone here using custom TFs for live trading? Would love to hear how you’ve set it up.