Equity and balance graph - page 42

 
Xupypr >> :

Auto-refresh and deselecting objects is a matter of scripting. The scripts are ready-made. It would be better to add deselection in them... but it is not up to me.

Is it not possible to insert the script into the indicator? somehow it is looped .... like (can't figure it out)

 
Even in MQL5 you cannot, the indicators have only one event to start the calculation - the arrival of a new tick. It is impossible to make it count otherwise, let alone loop it.
 

- I think that in the name of the line should still be the default type - Trendline 54431[0,0] - this reduces the manual work

- and also needs the ability to set the initial offset relative to the starting point of the trend line for each pair of colours like Trendline 54431[0,0]60.Blue.Red - where 60 is the shift up or down from the line start, while + or - is determined by the indicator itself, and the coordinates of correction and the initial shift will be added or subtracted - this will speed up the mark-up process on the history

- we also need a pair of vertical lines that can be moved in the window, so that all the final trendline parameters in this area are calculated between them without considering the remaining equity

- also an individual Uniq_String="Virtual_5389[0,0]0.Blue.Red"; for each pair (at least 3) of trendline colours (I guess I'm not good at this)

pay

 
Xupypr >> :
Even in MQL5 you can't, the indicators have only one event to start the calculation - the arrival of a new tick. It's impossible to make it count otherwise, let alone loop it.

You sure it's impossible to start without internet?

 

Hello Surgeon!

Couldn't figure out how to "run" the indicator... ...no matter how hard I tried. Although I've tried many different ones...

Is there a simple version (without any trickery), with a step-by-step description?

I would be very grateful.

 
gurman >> :

Hello Surgeon!

Couldn't figure out how to "run" the indicator... ...no matter how hard I tried. Although I've tried a lot of them...

What indicator are we talking about?

Virtual only works with trend lines of a certain colour. See the code, there is a description of parameters and tips on how the indicator works.

 

And here Igor has also added an option for vertical lines (Main_Window) - lines in the main window.

Files:
 
gurman >> :

Hello Surgeon!

Couldn't figure out how to "run" the indicator... ...no matter how hard I tried. Although I've tried many different ones...

Is there a simple version (without any trickery), with a step-by-step description?

I'd be very grateful.

contact me, he's busy.

 

A script that updates and removes selections from The Surgeon

As always - our thanks to him!!!

Files:
 
Eh, if only the virtual equity indicator would also give the spread amount !!!