Download MetaTrader 5

Problem with TimeFrame Shortkey script

To add comments, please log in or register
Widy Prasetyo
473
Widy Prasetyo 2013.07.17 16:56 

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
31085
Alain Verleyen 2013.07.17 17:57  
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 2013.07.18 04:04  

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 2015.12.21 11:44  

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