stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Change all TF/ change all Templates
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3801
Page 1 of 1
Author:  thomasmore [ Tue Aug 19, 2014 4:32 pm ]
Post subject:  Change all TF/ change all Templates

Two scripts to change all TF in one go, idem for Templates.
Make shure that:
1. In Tools/Options, check "Allow DLL imports...", as well as in the script's "Common"-tab
2. In the Templates list, the first one is number "0", the second is number 1 etc.
3. IN the Timeframe , change 1440 (=daily) to any appropiate number.

With thanks to Milanese (Tomasso) for adapting these scripts to the latest builds Empty4

Enjoy,
Ludo
Author:  KevinSt9 [ Thu Oct 15, 2015 12:57 pm ]
Post subject:  Change all TF/ change all Templates

Hi,

With instruction 3. Where do I change this?

Many thanks!
Author:  milanese [ Thu Oct 15, 2015 1:08 pm ]
Post subject:  Change all TF/ change all Templates

KevinSt9 » Thu Oct 15, 2015 12:57 pm wrote:Hi,

With instruction 3. Where do I change this?

Many thanks!
extern int eintTF = PERIOD_D1change here to the TF you want to use ...

Cheers :)

Tommaso
Author:  KevinSt9 [ Thu Oct 15, 2015 2:06 pm ]
Post subject:  Change all TF/ change all Templates

Hi,

Forgot to ask... Where do I save these files? I know how to access the Templates & Indicators folders for Empty4.

Many thanks again! :hi:
Author:  milanese [ Thu Oct 15, 2015 2:23 pm ]
Post subject:  Change all TF/ change all Templates

KevinSt9 » Thu Oct 15, 2015 2:06 pm wrote:Hi,

Forgot to ask... Where do I save these files? I know how to access the Templates & Indicators folders for Empty4.

Many thanks again! :hi:
you must place them in your Empty4 script folder, something like:
C:\Users\YourUserName\AppData\Roaming\MetaQuotes\Terminal\YourMT4TerminalNumber\MQL4\Scripts
Or do it in this way:
Download and Install the Script to your desktop
Right click to copy the Script
Open Empty4
Click “File” -> “Open data folder” – “MQL” –> Scripts
Right click and paste
Close your Empty4 and reopen it
View your Navigator to see the newly installed Script
Cheers :)

Tommaso
Author:  KevinSt9 [ Thu Oct 15, 2015 3:04 pm ]
Post subject:  Change all TF/ change all Templates

Many thanks
Author:  SteveHopwood [ Thu Oct 15, 2015 6:14 pm ]
Post subject:  Change all TF/ change all Templates

Wonderful.

Thanks for posting them Ludo. :clap:

Thanks for coding them Tommaso. :clap:

One for the wrup on Sunday.

:xm:
Author:  Jemook [ Sat Oct 17, 2015 9:11 am ]
Post subject:  Change all TF/ change all Templates

Still one of my favourite scripts!
All times are UTC Page 1 of 1