Indicators: iS7N_SacuL.mq5

 

iS7N_SacuL.mq5:

The iS7N_SacuL.mq5 indicator is based on the original indicator 'Lucas1.mq4', written in MQL4.

Two versions of this indicator can be used in the trading strategy, for example the first with parameters 7\25 (for entry points), the second with parameters (5\-5) for trailing.

Author: Николай

iS7N_SacuL

 
how to add this indicator in meta trader
 

My indicator stops working after the period of 15min, 1 hour, etc., respectively, on the charts M15, H1, etc.

Channel lines fall down, arrows are not set. I have to delete and set the indicator again.

Help, maybe something needs to be changed in the settings?

 
Andrik71:

I have the indicator stops working after the period of 15min, 1 hour, etc., respectively, on the charts M15, H1, etc.

Channel lines fall down, arrows are not set. I have to delete and set the indicator again.

Help, maybe something needs to be changed in the settings?

This is my mistake, I will post a corrected and updated version one of these days.
 

And another thing. This indicator was developed as a trend indicator, so it makes no sense to use it on TFs below H1.

 

We'll wait.

SHOOTER777:
It's my mistake, I'll post a corrected and amended version the other day.

SHOOTER777:

Also. This indicator was developed as a trend indicator, so it makes no sense to use it on the TF below H1.

 
Andrik71:

We'll wait.

Andrik71.

I'm not posting the third version yet, maybe there are still some bugs and certainly the code will need to be optimised.

I suggest to use it, for what I attach a file.

Files:
 

Channel lines do not fall, but the arrows are not set!

The arrows are set only after deleting and loading the indicator again.

 
Andrik71:

Channel lines are not falling, but the arrows are not set !

The arrows are set only after deleting and loading the indicator again.

Please check. how the indicator behaves with the parameter bExp = true.

If everything is OK, it will be necessary to exclude this condition.

 

In the case of channel lines, if the colour is changed in the settings, they become initial (set in MetaEditor).

But the channel lines, if you change the colour in the settings, then at the end of the period, they become the original ones (set in MetaEditor).

For example, I changed the colour of the lines to black, but at the end of the hour, they become grey again.

Of course, you can change the colour in the code, but you will have to do it all the time, if you suddenly want a different one.

 
Andrik71:

The adder with the parameter bExp = true sets the arrows by itself, thanks!

But the channel lines, if you change the colour in the settings, then at the end of the period, they become the original ones (set in MetaEditor).

For example, I changed the colour of the lines to black, but at the end of the hour, they became grey again.

Of course, you can change the colour in the code, but you will have to do it all the time, if you suddenly want a different one.

This is the peculiarity of this indicator, because the colour depends on the Pro parameter....

Therefore, it is pointless to change the colour in the properties on the "colours" tab.

If you still want to change the colour in the properties,

you can enter additional external parameters and do the same as in iS7N_TREND.

But does it make sense?