ZigZag Channel

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Re: ZigZag Channel

Postby Cactus » Sat May 27, 2017 5:55 am

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
Never chase the money, let the money come to me
User avatar
Cactus
FXCodeBase: Graduate
 
Posts: 213
Joined: Fri Feb 19, 2016 11:46 am
Location: Errywhere

Re: ZigZag Channel

Postby Apprentice » Sat May 27, 2017 7:23 am

Your request is added to the development list, Under Id Number 3801
If someone is interested to do this task, please contact me.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17398
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ZigZag Channel

Postby Alexander.Gettinger » Fri Sep 22, 2017 1:02 pm

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 39 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 2894
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: ZigZag Channel

Postby Cactus » Fri Oct 20, 2017 7:19 pm

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
Never chase the money, let the money come to me
User avatar
Cactus
FXCodeBase: Graduate
 
Posts: 213
Joined: Fri Feb 19, 2016 11:46 am
Location: Errywhere

Re: ZigZag Channel

Postby Apprentice » Mon Oct 23, 2017 4:41 am

core.host:execute ("drawLine" product is line as on screen graphic presentation.
NOT as indicator output, which can be referenced.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17398
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Previous

Return to Custom Indicators

Who is online

Users browsing this forum: 7000306337, Bing [Bot], Google [Bot], Yahoo [Bot] and 13 guests