Join our fan page
- Views:
- 667
- Rating:
- Published:
- 2024.08.26 23:39
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Features:
- Switch sequentially between multiple Templates (as many as you want)
- Switch template in current chart OR for all charts
Video Tutorial:
How to Use:
Open mq4 file in Metaeditor.
Change the template names with any you like. Template names should be comma separated.
Change 1.tpl and 2.tpl and 3.tpl to your template names. There can be spaces between comma and names for easier reading. Template names can also contain spaces. There should be at least 2 templates for switching to happen.
Just make sure these template files exist in your Data Folder/templates folder. Follow above Script installation for more help.
Right click the script in your navigator and Set Hotkey. Choose any keys you need. Now you can use this shortcut to keep switching templates.
How It Works:
It uses Global Variables to remember which Template was specific to which Chart ID.
Select all and Delete:
Error Codes:
![Trend Strength Index](https://c.mql5.com/i/code/indicator.png)
The Trend Strength Index indicator measures strength of current trend.
![Detect Friday of The First Week of The Month - To Detect NFP Day](https://c.mql5.com/i/code/expert.png)
This code can detect if its a friday of the first week of the month. It is usually to detect days with NFP. Sone trader dont want to trade at that day. Maybe this code can help some one who need it
![Rotate TEXT](https://c.mql5.com/i/code/script.png)
The script creates a text object on the chart that continuously rotates and changes its position based on price levels.
![PrevDayLines.mq4 - Draw Previous Day's High, Low, and Average Price Lines](https://c.mql5.com/i/code/script.png)
The PrevDayLines.mq4 script is a tool for MetaTrader 4 that automatically draws three critical price levels from the previous trading day on your chart. These levels include the highest price (Max), the lowest price (Min), and the average price (Avg), providing traders with a clear visual reference for key support and resistance points.