Scripts: Separators

 

Separators:

Adds period separators to your window, at a time of your choice.

Author: Diogo Seca

 
Automated-Trading:

Separators:

Author: Diogo Seca

great indicator    but 1 issue

 when i close MT5  and then restart    the lines are gone

 is there a way to fix this

 Thank you in advance 

 
richbois:

great indicator    but 1 issue

 when i close MT5  and then restart    the lines are gone

 is there a way to fix this

 Thank you in advance 

This is not an indicator. This is the script. The main differences between indicators and the scripts are the following:

Forum on trading, automated trading systems and testing trading strategies

What is the diference between an "Indicator" and a "Script"?

Forex Trader, 2005.08.30 21:44

There is two major differences:
1) A custom indicator remains attached to a chart till its removed or the chart is closed; a script will detach from a chart as soon as its finished executing (of course, you could keep it executing in a loop).
2) An indicator's start() function gets called on every tick event for the chart; a script's start() function gets executed right after its init() function gets executed (not waiting for any tick event). (I hope I got this one correct.)

 
Sergey Golubev:

Thank you for the correction Sergey.

richbois:

richbois,

I wrote this script as a quick way to analyse the best timings to enter and exit 1-day-trades.

I am considering writing it as an Indicator, in the future, so that it's fully attached to the chart, and usable in EAs as a visualization tool.

 

Cheers,
Diogo Seca

 
richbois:

great indicator    but 1 issue

 when i close MT5  and then restart    the lines are gone

 is there a way to fix this

 Thank you in advance 

Now you can use the indicator version of Separators, which is available for Free in MQL5 Marketplace!

It will remain a free product, rest assured :)