Watch how to download trading robots for free
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Scripts

Basic file handling in MQL - script for MetaTrader 4

Views:
1361
Rating:
votes: 22
Published:
2021.12.25 16:01

This code will basically write some value of prices in a file. 

This is usually helpful when you want to create a local trade copier using file based approach.

It can also be used to save some values in a file temporarily and read it later across login sessions.

It can also be used to save custom logs in a file.

    Check Trading time Check Trading time

    This code base is a simple function to check if current time lies within two specified times.

    Bullish Bearish Color Bullish Bearish Color

    This indicator draws coloured histograms to identify bullish and bearish bars.

    GSV - Greatest Swing Value MTF GSV - Greatest Swing Value MTF

    Larry Williams 'Greatest Swing Value' as an indicator

    Save current chart to default template Save current chart to default template

    it saves the current chart to default template , it just helps to do it faster than a manual save. you can assign a hotkey for it. it has no confirmation and immediately saves the template, if you want it to save to a template other than default just edit the code and replace "default.tpl" to any other name you want.