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 » Mon Feb 27, 2017 12:54 pm

Should I create a new thread to seek help getting this strategy fixed to work in backtester with this indicator or is leaving the post here just fine
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 Cactus » Mon Feb 27, 2017 3:02 pm

Ok I see the "out" / "up" stream is for color, width and style.
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 » Tue Feb 28, 2017 4:02 am

I do not use FX Wizard,
If you write strategy rules, I can write strategy for you.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36258
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ZigZag Channel

Postby Cactus » Thu Mar 16, 2017 8:12 pm

Can you also provide a version of ZigZag with Output, with tick as source, so it can be used on tick charts and indicators
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 » Fri Mar 17, 2017 4:49 am

Tick ZigZag Channel with Output.lua added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36258
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ZigZag Channel

Postby Cactus » Fri Apr 14, 2017 11:30 am

Code: Select all
Symbol   Strategy/Indicator   Message   Time
EUR/GBP   ZIGZAG CHANNEL WITH OUTPUT(midprice, 45, 1, 1, 44)   An error occurred during the calculation of the indicator 'ZIGZAG CHANNEL WITH OUTPUT(midprice, 45, 1, 1, 44)'. The error details: C:/Program Files (x86)/Candleworks/FXTS2/Indicators/Custom/ZigZag Channel with Output.lua:409:  The first parameter must be a number.   14/04/2017 20:33:31


Do you know how to fix this error? I think this happens when there's not enough candles loaded on the chart
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 Cactus » Sat Apr 15, 2017 4:56 pm

Apprentice wrote:Try it now.


Perfect, the error does not happen anymore, at least on the charts, yet to try it in a strategy, and ZigZag channel with output updates itself as more data is beeing seen on the chart (when I scroll back), thank you, this will help me a lot.
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 cash4u » Mon Apr 17, 2017 7:21 pm

hi apprendice,

can you add show/hide option for zig zag in this indicator
User avatar
cash4u
 
Posts: 53
Joined: Sun Feb 19, 2012 8:03 pm

Re: ZigZag Channel

Postby Apprentice » Tue Apr 18, 2017 12:09 pm

I can add it.
If you re-download, you can already set a line style option to "no line".
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36258
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

PreviousNext

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 26 guests