Download MetaTrader 5

Problem with TimeFrame Shortkey script

To add comments, please log in or register
Widy Prasetyo
473
Widy Prasetyo  

I just download script to activate "next & previous TimeFrame" shortcut key.. (for MetaTrader 5)

But it seems minor error inside program..... I try debugging with MetaEditor and found 1 error line.

 ...... I can not contact the creator, so anybody here can help ?

Files:
NextTF.mq5 2 kb
PrevTF.mq5 2 kb
Alain Verleyen
Moderator
33504
Alain Verleyen  
widhie75:

I just download script to activate "next & previous TimeFrame" shortcut key.. (for MetaTrader 5)

But it seems minor error inside program..... I try debugging with MetaEditor and found 1 error line.

 ...... I can not contact the creator, so anybody here can help ?

Add the following line after the last 'case' line :

      case PERIOD_MN1: return(PERIOD_W1);
      default: return(-1);
Widy Prasetyo
473
Widy Prasetyo  

Wow,,, thanks angevoyageur.... It works now... and here is the corrected version...

Also thanks to programmer who create this usefull script...


1. Extract this Zip file....

2. Copy all files into [MetaTrader 5 installed folder]/MQL5/Scripts/Examples

Alexandru_87
6
Alexandru_87  

Hi Guys,


I recently started using the MT4 platform, so I am quite new to this.

Is there a way to use this script for a MT4 platform?


thanks

Alex

To add comments, please log in or register