ZigZag with Fibonacci

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 with Fibonacci

Postby Apprentice » Mon Jan 28, 2019 9:13 am

ZigZag with Fibonacci.minifire18.lua
(27.24 KiB) Downloaded 689 times

Try this version.
Label size option already exists. And there is nothing we can do with
that missing swing - ZigZag indicator does not detect it there.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ZigZag with Fibonacci

Postby Kelly123 » Tue Jan 29, 2019 7:22 am

he work you do on this site for people is brilliant, been using the site for a while now just downloading indicators & strategies already posted, this is my 1st request I have an idea for a reversal strategy but need a indicator would you be able to add to this indicator another function or if you can make new one (ideally add to this multi-function indicator) with same Zigzag Fibonacci & pip swing and add or instead of the ABC D pattern have new reversal parameters would involve two timeframes High and Low add to existing alert on display would need to be trending ABC D or Reversal ABC D. Would need option to be able to turn off the trending pattern and for reversal pattern. Would need 2 t-frames to set the Reversal pattern ABC D parameters as per screenshot

Kelly123

X to A
A pull back B
B past A creating C
C reverse break and close past A (on high t-frame) creating D
D Will be defined by the closed candle past previous open Low t-frame

zigzag reversal.png
Kelly123
 
Posts: 68
Joined: Tue Jan 15, 2019 11:33 am

Re: ZigZag with Fibonacci

Postby Apprentice » Tue Jan 29, 2019 4:44 pm

Sure we can write this for you.
XABCD are based on lower time frame ZigZag?
Can you define strategy Entry/Exit points?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ZigZag with Fibonacci

Postby Kelly123 » Wed Jan 30, 2019 11:53 am

Hi thanks for taking this topic on. The indicator is based on two t-frames can it still be made as a visual on chart once alerted to strategy alert? Would be a great addition to current indicator.

The low t-frame would give the entry once the high t-frame has reverse and broke and closed past (A) on previous mid zigzag everything is calculated from close of candle and stops & profit take would have options pips ,atr and fibonacci and fibonacci extensions adjustable levels. If we have the strategy set up for one direction, everything in parameter box would be set up for buy and separate strategy for sell. There are 4 t-frames Zigzag, High, Mid, Low the Zigzag t-frame would have option to able and disable.



Parameter box should look like for LONG SET UP

Labelled ZigZag,High Mid and Low 4 T-frames

T-frame (t-frame period option)

Period of MA (set to EMA)

Look Back (amount of previous candle back) option to able/disable

Zigzag (would need to be able to change setting on zigzag)

Reversal ABC D be added to all t-frames (within zigzag settings) with the options to able and disable on each t-frame

High T-frame (option period)

Low T-frame (option period)



Volume Price Change (would need to be able to change setting and on this indicator to be able to disable on each t-frames) option for both conditions 1. Above signal line. 2. Above signal line & Zero line

Have option for condition to reach 15% on stochastic (option to change %)

Stochastics % K Periods, Stochastics % Slowing K Periods, Stochastics Periods, Stochastics % Slowing K Method Stochastics % Slowing D Method

This would be repeated for all 4 t-frames

Buy set up Commands

If High t-frame reverses break and close then the previous Mid swing low (A) closed as full body candle stochastics @ 15% or lower K line crossed above the D line and if closed above EMA



Mid t-frame created K line crosses Above D line on stochastic @ 15% and closed above EMA

If Low t-frame not created a lower low over past 100 candles (to have option Look Back period) and stochastics @ 15% or lower K line crossed above the D line and if closed above EMA



Parameter box should look like for SHORT SET UP

Labelled ZigZag,High Mid and Low 4 T-frames

T-frame (t-frame period option)

Period of MA (set to EMA)

Look Back (amount of previous candle back) option to able/disable

Zigzag (would need to be able to change setting)

Reversal ABC D be added to all t-frames (within zigzag settings) with the options to able and disable on each t-frame

High T-frame (option period)

Low T-frame (option period)



Volume Price Change (would need to be able to change setting and on this indicator to be able to disable on each t-frames) option for both conditions 1. Below signal line. 2. Below signal line & Zero line

Have option for condition to reach 85% on stochastic (option to change %)

Stochastics % K Periods, Stochastics % Slowing K Period, Stochastics Periods, Stochastics % Slowing K Method, Stochastics % Slowing D Method

This would be repeated for all 4 t-frames

SELL set up Commands

If High t-frame reverses break and close then the mid previous swing high (A) closed as full body candle stochastics @ 85% or higher K line crossed below the D line and if closed below EMA

Mid t-frame created K line crosses below D line on stochastic @ 85% closed below EMA

If Low t-frame not created a higher high over past 100 candles (to have option Look Back period) and stochastics @ 85% or higher K line crossed below the D line and if closed below EMA

Phase 1 conditions met

All conditions need to met on High, Mid and Low need to be met before any alerts created (optional ZigZag t-frame if enabled)

Phase 2 entry

Re-enter alert would only be created when High, Mid are complying (optional ZigZag t-frame if enabled) When Low t-frame K line crosses D line at 85/15 % depending on BUY or SELL strategy (% option)

Need to prioritise the procedures

From High t-frame Stochastic @ % K line crosses D line then Break & Close past previous Mid (A) ZigZag and close through ema

Mid and Low ZigZag option stochastic @ % K line crosses D line then closed through ema in that order

sorry for long post

Mid t-frame.png
High T-frame.png
Attachments
Low t-frame.png
Kelly123
 
Posts: 68
Joined: Tue Jan 15, 2019 11:33 am

Re: ZigZag with Fibonacci

Postby Apprentice » Thu Jan 31, 2019 6:32 am

Your request is added to the development list under Id Number 4447
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ZigZag with Fibonacci

Postby Apprentice » Fri Feb 01, 2019 7:05 am

ZigZag with Fibonacci Strategy.Kelly123.lua
(114.96 KiB) Downloaded 551 times

Try this version.
I didn't manage to find any chart where it opens a trade
using these rules. In the description and on the
screenshots you are using different rules. I coded the rules from the
screenshots.
Can you clarify?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ZigZag with Fibonacci

Postby Kelly123 » Sun Feb 03, 2019 11:39 am

Hi Apprentice, tried to back test the strategy and there’s no timeframe period option on the high middle lower, and to your question yes entry for the strategy should be on the 1st pullback reaching 15% and closed candle above EMA on the low t-frame after the high & mid have met there conditions and still complying (k line above d line and price above ema) is possible to add advance alert when the conditions are met on the high & mid? Or can you add this reversal ABC D to code to zigzag fibonacci minifire18 and have labels in the way coloured circles different then the trending labels and pop up alerts would need to say Trending ABC D and Reversal ABC D. In the screenshot, I didn’t have the volume price change if that can be added to all t-frames option to able and disable on each t-frame for different market conditions.
Volume Price Change (would need to be able to change setting and on this indicator to be able to disable on each t-frames) options 1. Above signal line. 2. Above signal line & Zero line

Volume Price Change (would need to be able to change setting and on this indicator to be able to disable on each t-frames) options 1. Below signal line. 2. Below signal line & zero line

And as there are so many different conditions for buy & sell eg; BID /ASK above/below ema, above/below signal & zero line, K line above/below D line on stochastics would strategy benefit from having a buy set up and sell set up?
Most appreciated for all the work already gone into this topic

Kelly
Kelly123
 
Posts: 68
Joined: Tue Jan 15, 2019 11:33 am

Re: ZigZag with Fibonacci

Postby Apprentice » Mon Feb 04, 2019 4:59 am

Your request is added to the development list under Id Number 4455
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ZigZag with Fibonacci

Postby minifire18 » Thu Feb 07, 2019 8:03 am

Hey Guys thanks done great job noticed that some times that if the pattern has been created no more alerts or labels come through can you code so this is a ongoing pattern alert and label display as per screen shot
minifire18
Attachments
mini fire continuation pattern 7.2.19.png
minifire18
 
Posts: 81
Joined: Tue Dec 11, 2018 8:43 am

Re: ZigZag with Fibonacci

Postby Kelly123 » Fri Feb 08, 2019 5:00 am

[quote="Apprentice"]
ZigZag with Fibonacci Strategy.Kelly123.lua

Try this version.

Hi Apprentice, has there been any development with the Reversal ABC D strategy?
Kelly
Kelly123
 
Posts: 68
Joined: Tue Jan 15, 2019 11:33 am

PreviousNext

Return to Custom Indicators

Who is online

Users browsing this forum: Google [Bot] and 47 guests