Change all TF/ change all Templates

Post Reply
thomasmore
Trader
Posts: 275
Joined: Tue Nov 15, 2011 10:35 pm
Location: Knokke, Belgium

Change all TF/ change all Templates

Post by thomasmore »

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
You do not have the required permissions to view the files attached to this post.
KevinSt9

Change all TF/ change all Templates

Post by KevinSt9 »

Hi,

With instruction 3. Where do I change this?

Many thanks!
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Change all TF/ change all Templates

Post by milanese »

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
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
KevinSt9

Change all TF/ change all Templates

Post by KevinSt9 »

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:
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Change all TF/ change all Templates

Post by milanese »

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
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
KevinSt9

Change all TF/ change all Templates

Post by KevinSt9 »

Many thanks
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Change all TF/ change all Templates

Post by SteveHopwood »

Wonderful.

Thanks for posting them Ludo. :clap:

Thanks for coding them Tommaso. :clap:

One for the wrup on Sunday.

:xm:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
Jemook
Trader
Posts: 1085
Joined: Thu May 10, 2012 10:19 am
Location: Bondi, Sydney, Australia

Change all TF/ change all Templates

Post by Jemook »

Still one of my favourite scripts!
Please note I am no longer affiliated with Global Prime. I've moved on to my next adventure with Afterprime.

Catch me here: https://www.afterprime.com
Post Reply

Return to “Scripts”