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: 242
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: 36258
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 996 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
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: 242
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: 36258
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ZigZag Channel

Postby Apprentice » Mon May 07, 2018 12:43 pm

The Indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36258
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ZigZag Channel

Postby Paul W » Tue Jan 14, 2020 2:48 pm

TICK ZIGZAG CHANNEL WITH OUTPUT

found an issue/bug affecting "Zig Zag Line Style" - specifically "Down swing" (Line) performance

currently both "Up swing" (Line) and "Down swing" (Line) default/focus is on "Bid"

- "Up swing" (Line) works well
- "Down swing" (Line) does not perform as well

can you default/focus "Down swing" (Line) onto "Ask ?

------------- If possible, an Alert Feature https://youtu.be/hJaT-Zrd9Nk

"Up swing" (Line)/"Down swing" (Line) cross - (user-defined) equal or greater than "touch" eg: +0.0, +0.1, .. +1.0 etc

after each "Line Style" Up/Down repaint - counter resets to "0"

after user defined "N" crosses - triggers Alert

additional Alerts with each additional "touch" - until next repaint, and counter resets

Alert Symbol (Wingdings 116 pls) and Sound - no email or dialogue-box Feature needed

Have been using "Up swing" Line cross on a scalping strategy - works well

Thanks
Attachments
hhhhhhhhhhhhhhhh FINAL.PNG
"Down swing" (Line) works better with focus on "ASK"
Paul W
FXCodeBase: Initiate
 
Posts: 146
Joined: Mon Apr 01, 2013 1:36 pm

Re: ZigZag Channel

Postby Apprentice » Wed Jan 15, 2020 1:55 pm

Your request is added to the development list.
Development reference 548.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36258
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ZigZag Channel

Postby Apprentice » Thu Jan 16, 2020 4:56 am

Tick_ZigZag_Channel_with_Output.lua
(31.92 KiB) Downloaded 426 times

Try this version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36258
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ZigZag Channel

Postby Paul W » Thu Jan 16, 2020 10:02 am

Tick_ZigZag_Channel_with_Output.lua

loaded, but an output display error occurred
Attachments
ZIG ZAG Error.PNG
Paul W
FXCodeBase: Initiate
 
Posts: 146
Joined: Mon Apr 01, 2013 1:36 pm

PreviousNext

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 10 guests