Weekend evening - page 33

 
Vladimir Karputov:

Yes, I see what you want now.

It will not work that way - because the EA does not use indicators, but creates these indicators and displays them on the chart. Why exactly so: let's imagine the situation: the user did not put the indicator on the chart - how will the EA get the data from the indicator? Well, you can not!


I have found the way out just for you: DISCONNECT THE AUTHORITY BUTTON and put the Expert Advisor on a clean chart and carefully set two parameters in it:

  • Use indicator visualization -> false
  • arrow code (Wingdings font's symbol codes) -> 158

ATTENTION: The Expert Advisor will be attached, but the indicators will be hidden.

You save the template under your own name.


You can apply the template to another chart, but AFTER applying the template, put Use indicator visualization -> true. That is first you apply a template, then Use indicator visualization -> true.

Done. The terminal shows two templates under the same name

Fig. 33

But in the template pvpk shows one template.

Fig. 22

On each chart shows two EAs installed with

Use indicator visualization -> false
arrow code (Wingdings font's symbol codes) -> 158

and then switch to Use indicator visualization -> true
the indicators are not visible.

Files:
33.png  21 kb
22.png  43 kb
 
azas111:

Done. The terminal shows two templates with the same name

Fig. 33

But in the template pvpc shows one template.

Fig. 22

On each chart shows two EAs installed with

Use indicator visualization -> false
arrow code (Wingdings font's symbol codes) -> 158

and then change to Use indicator visualization -> true
the indicators are not visible.

Delete the templates (from the terminal). Reboot the terminal. Follow the steps as I described.

 
Vladimir Karputov:

Delete the templates (from the terminal). Reboot the terminal. Continue with the steps as I described.

Done. I looked, there is one EA on the chart.

I transferred the template to another clean chart and saw two EAs on it.

I returned to the first chart and there are two EAs on it.

Adding: I have opened the template on the third chart and there are three EAs on it, on the fourth chart - four,

on the fifth chart - five.

Back to the very first one, it has five.

Files:
55.png  98 kb
 
azas111:

Done. Looked at, there is one EA on the chart.

Transferred the template to another clean chart, it shows two EAs.

Returned to the first chart, it already has two EAs.

I have added: I have opened the template on the third chart and there are three EAs on it, on the fourth chart - four,

on the fifth - five.

Remove the template "default.tpl" - you clearly have something unnecessary in it.

And also read and reread the instructions step by step.
 
Vladimir Karputov:

Remove the "default.tpl" template - there's obviously something extra in it.

There is no such thing.

Files:
11.png  19 kb
 
azas111:

Done. Looked at, there is one EA on the chart.

Transferred the template to another clean chart, it shows two EAs.

Returned to the first chart, it already has two EAs.

I have added: I have opened the template on the third chart and there are three EAs on it, on the fourth chart - four,

on the fifth chart - five.

Back to the very first one, there are five on it.

Now look carefully - how many Expert Advisors are on each chart?

Task: learn to distinguish the words "Chart" and "Charts". Learn to count how many Advisors in ONE GRAPHIC (one FRAPHIC cannot have more than one Advisor).

 
Vladimir Karputov:

Now look carefully - how many advisers are on each graph?

Task: learn to distinguish between the words "Chart" and "Charts". Learn to count how many EAs on ONE GRAPHIC (and one GRAPHIC cannot have more than one EA).

My bad, I messed up due to ignorance.
There is no such thing on MT4.
Here he writes on which pairs and timeframes he stands.

Everything has appeared.

 

"Trading area.mq5"
version "1.001"

Now draws rectangles . The start and end times of the rectangles are set inRectangle: Start Hour andRectangle: End Hour

Trading area.mq5

Files:
Trading_area.mq5  157 kb
 
I put the Expert Advisor on the chart, save the template and there is one indicator on the chart
Resistance and Support

I open this template on another chart and there are two indicators. They are the same.
They are the same in the first one and in the second EA.
I return to the first chart and there are two of them.

Do I need it that way?

I change colour Lime to Blue, it does not save.
 
azas111:
I put the Expert Advisor on the chart, save the template, the chart has one indicator
Resistance and Support.

I open this template on another chart and there are two indicators. They are the same.
Both in the first and in the second EA.
I return to the first chart and there are two of them.

Do I need it that way?

I change colour Lime to Blue, it does not save.

Forum on trading, automated trading systems and testing trading strategies

Holiday Evening

Vladimir Karputov, 2019.08.08 09:32

Yes, now I understand - what exactly you want.

It will not work that way - because the EA does not use indicators applied to the chart, it creates these indicators and displays them on the chart. Why exactly so: let's imagine the situation: the user did not put the indicator on the chart - how will the EA get the data from the indicator? Well, you can not!


I have found the way out just for you: DISCONNECT THE AUTHORITY BUTTON and put the Expert Advisor on a clean chart and carefully set two parameters in it:

  • Use indicator visualization -> false
  • arrow code (Wingdings font's symbol codes) -> 158

ATTENTION: the EA will be attached, but indicators will be hidden.

You save the template under your own name.


You can apply the template to another chart, but AFTER applying the template, put Use indicator visualization -> true. That is first you apply a template, then Use indicator visualization -> true.


Reason: