Page 3 of 3

Re: ZigZag Channel

PostPosted: Sat May 27, 2017 5:55 am
by Cactus
Can you add a version of the "ZigZag Channel with Output" with a see historical option. The same as it is in "AUTOLEV3" indicator (The Lookback) paramter. So that we can draw many zigzag channels without applying the same indicator many times which slows down marketscope when there's a lot. Currently one zigzag indicator instance = 2 trendlines, but can you add a parameter to see historical also where it is possible to have many trendlines with just one indicator instance applied on chart? Thank you

Re: ZigZag Channel

PostPosted: Sat May 27, 2017 7:23 am
by Apprentice
Your request is added to the development list, Under Id Number 3801
If someone is interested to do this task, please contact me.

Re: ZigZag Channel

PostPosted: Fri Sep 22, 2017 1:02 pm
by Alexander.Gettinger
Cactus wrote:Can you add a version of the "ZigZag Channel with Output" with a see historical option. The same as it is in "AUTOLEV3" indicator (The Lookback) paramter. So that we can draw many zigzag channels without applying the same indicator many times which slows down marketscope when there's a lot. Currently one zigzag indicator instance = 2 trendlines, but can you add a parameter to see historical also where it is possible to have many trendlines with just one indicator instance applied on chart? Thank you


Please, try this version of indicator:
ZigZag Channel with Output_Mult.lua
(15.03 KiB) Downloaded 43 times

Re: ZigZag Channel

PostPosted: Fri Oct 20, 2017 7:19 pm
by Cactus
That is great!

Apprentice wrote:We can rewrite, use ouput core.drawLine and two output streams,
or core.host:execute ("drawLine"...

Ok. So can the same be done using core.host:execute ("drawLine"
So "ZigZag Channel with Output_Mult.lua" version but with no output streams, just lines, for less lag?

I know it may sound like I am asking the reverse of previous request but both of these can be useful, streams version for strategies, and the one I am requesting now as visual help

I know it may be a case of just replacing core.drawLine so I will give it a go and if I can implement it I will post it here

So far trying something like this
Code: Select all
core.host:execute("drawLine", Top[index], tx2, ty2, source:date(source:size()-1), Y1, Color, Style, Width); 
but no luck

Also if you got the time, can a Tick ZigZag Channel with Output.lua with same multiple lookback see historical option get done, like I explained here:
Cactus wrote:a parameter to see historical also where it is possible to have many trendlines with just one indicator instance applied on chart?

Thanks in advance

Re: ZigZag Channel

PostPosted: Mon Oct 23, 2017 4:41 am
by Apprentice
core.host:execute ("drawLine" product is line as on screen graphic presentation.
NOT as indicator output, which can be referenced.