Point & Figure (Update 08. Oct 2014) V4.0.2

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

Point & Figure (Update 08. Oct 2014) V4.0.2

Postby Gidien » Wed Jan 23, 2013 7:59 am

New Version 4.0.2

Changelog:

PNF drawing
- if not EndofTheDay and TF > t1 then
new highs or lows will draw immediately, reversals only at new Source Candles
- Trendlines also drawed in Line mode (if zoom out to high for drawing X and O's)

Pattern
- added Trendline breakout to pattern, was allready there, but now we can disable this signal
- added Price projection to each pattern
select Enabled, Disabled, Enabled only with vorizontal, Enabled only with vertical or Enabled with horizontal and vertical price projection

Horizontal Target
- because Horizontal price projection is moved to each pattern, i changed the function "Show Horizontal Count"
- "Show Horizontal Count" now search for price projection against X or O Walls.
- added Max Ratio filter to horizontal price projection.

BETA testing
- added find Bullish Resistance and Bearish Support line to 45° Trendline Section
- only the last 4 lines and allready broken lines should be visable

File:
PaF_View_V4.0.2.lua
(130.8 KiB) Downloaded 2306 times

-------------------------------------------------------------------------------------------------------------------------
Point and Figure Overhauled

The last Version is V 4.0.1 .

I overhauled my point and figure indicator. The code became more complex and changes are more difficult to program. I hope the new structure, helps me to be able to make changes faster.

What is new?

Price parameters

Method: ATR or PIP
-- ATR: Get the boxsize from the daily ATR * ATR_Percent (Request from Jabez)
-- PIP: Get the boxsize from the boxsize parameter

EndOftheDay:
the calculation will be done at the beginning of a new source Candle. You will see,
that no new X or O's will be drawn, even if the price is lower or higher then the
last X or O, until a new candle begins. The standard PF version only works with end of
the day data. Disable it and PF will be updated every tick.
If TF == "t1" then "EndOftheDay" and "Ignore high/low" are ignored, the calculation is
then tick based.


Column Style:

Boxes: Font or Squares
-- Font: Rows are drawn as X and O's
-- Square: Rows are drawn as Squares (Request from Jabez)


Trendlines:
I added internal Trendlines.
Select "no-line" for Main or internal trendline to disable it.

New Trendline:
"At breakout" or "At breakout with Adaption" or "At breakout with Confirmation "

-- At breakout:
New trendline is drawn, if the breakthrough occurred with a double top/bottom.

-- At breakout with Adaption:
New trendline is drawn, if the breakthrough occurred with a double top/bottom.
If the close of the column is at the trendline
one box is added/removed to the position of the trendline.

-- At breakout with Confirmation :
New trendline is drawn, if the breakthrough occurred with a double top/bottom
and then the next low or high is above or below the trendline.


Pattern:
I added a Tooltip to each Box , which has a signal to buy or sell. Moving the mouse over the box, will show the type of the pattern.

List of pattern:
Double Top/Bottom - Letter D
Triple Top/Bottom - Letter T
Bullish/Bearish Catapult - Letter C
Bullish/Bearish Triangle - Letter A
ShakeOut - Letter S
Flag - Letter F

Upcoming Signals will draw with entry , TP and SL line only if horizontal targets could calculated. These lines will be removed if the signal is finished.


Alerts are available with

PF_Strategy_Server.lua
(5.98 KiB) Downloaded 1931 times


Alert occurred with all Pattern and new trendline .
Set Magic String to the same value in the strategy and indicator.


Indicator:
PaF_View_V4.0.1.lua
(105.8 KiB) Downloaded 2051 times



Picture square:
pf_v4_square.png


Picture Font:
pf_v4_Font.png



Gidien
Last edited by Gidien on Wed Oct 08, 2014 2:39 am, edited 19 times in total.
Gidien
FXCodeBase: Confirmed User
 
Posts: 106
Joined: Mon Feb 08, 2010 7:39 am
Location: Hamburg

Re: Point & Figure on Chart (5 Pattern added) new V0.9

Postby Gidien » Mon Jan 28, 2013 5:24 am

New Version V 0.9 see post one.
Gidien
FXCodeBase: Confirmed User
 
Posts: 106
Joined: Mon Feb 08, 2010 7:39 am
Location: Hamburg

Re: Point & Figure on Chart (5 Pattern added) new V1.1

Postby Gidien » Tue Jan 29, 2013 9:11 am

New Version V 1.1

changes:

- rewriting parts of the code
- improved performance

file:

PuF_with_Pattern_v_1_1.lua
(23.66 KiB) Downloaded 2048 times
Gidien
FXCodeBase: Confirmed User
 
Posts: 106
Joined: Mon Feb 08, 2010 7:39 am
Location: Hamburg

Re: Point & Figure (5 Pattern) new V1.5 add TrendLines

Postby Gidien » Fri Feb 08, 2013 9:45 am

Hi,

i updated my indicator.

Version 1.5

added 45° trendlines with breakout signal
Type 1: Upside Breakout above a Bearish Resistance Line
Type 2: Downside Breakout Below a Bullish Support Line

screen :

puf_v1_5.png


file:

PuF_with_Pattern_v_1_5.lua
(29.35 KiB) Downloaded 2682 times
Gidien
FXCodeBase: Confirmed User
 
Posts: 106
Joined: Mon Feb 08, 2010 7:39 am
Location: Hamburg

Re: Point & Figure (5 Pattern added) new V1.5 Trendlines

Postby Blackcat2 » Tue Feb 12, 2013 6:22 am

Looks good but it repaints, sometimes even several bars back, can't really use it like this >_<

Could you please fix it?

Cheers..
BC
Blackcat2
FXCodeBase: Initiate
 
Posts: 118
Joined: Wed May 19, 2010 12:42 am

Re: Point & Figure (5 Pattern added) new V1.5 Trendlines

Postby Gidien » Tue Feb 12, 2013 3:47 pm

Can you tell which version do you use? And also which settings do you use(timeframe, indi parameters,pairs?

With one box reversal the candle with only one O or X will not have a body.

like here at the marks.

puf.png
Gidien
FXCodeBase: Confirmed User
 
Posts: 106
Joined: Mon Feb 08, 2010 7:39 am
Location: Hamburg

Re: Point & Figure (5 Pattern added) new V1.5 Trendlines

Postby Blackcat2 » Tue Feb 12, 2013 7:06 pm

Gidien wrote:Can you tell which version do you use? And also which settings do you use(timeframe, indi parameters,pairs?

With one box reversal the candle with only one O or X will not have a body.

like here at the marks.

puf.png

Hi,

I'm using version 1.5, with default indi parameters in 1H chart, EUR/USD.

I didn't get the screenshots when it changed but I know it changed because I went in based on a signal and then it changed to no signal several bars after.

Thanks..
BC
Blackcat2
FXCodeBase: Initiate
 
Posts: 118
Joined: Wed May 19, 2010 12:42 am

Re: Point & Figure (5 Pattern added) new V1.5 Trendlines

Postby Gidien » Wed Feb 20, 2013 8:53 am

Hi,

sorry for waiting so long.


could you try the fixed version. Repaint should now only occur , if you load more data to the chart by scrolling the chart back. If you scroll back the chart more history is loaded, the update function is called with flag core.updateall. This will reset the indicator and the indi will recalculate with the new history data.

If this happen after a long time the indicator was build with live data, then it could be that you will lost some signals. This will happen, if you use higher timeframes with small boxsize.

Fixed version:
PuF_with_Pattern_v_1_5_fix.lua
(29.39 KiB) Downloaded 1990 times
Gidien
FXCodeBase: Confirmed User
 
Posts: 106
Joined: Mon Feb 08, 2010 7:39 am
Location: Hamburg

Re: Point & Figure (5 Pattern added) new V1.5 Trendlines

Postby evgeniyn » Fri Feb 22, 2013 4:40 am

On any version (1.5) of indicator we have the error,
PuF_with_Pattern_v_1_5_fix.lua"]:345: invalid option '%-' to 'format'
evgeniyn
 
Posts: 44
Joined: Fri Dec 28, 2012 1:27 am

Re: Point & Figure (5 Pattern added) new V1.5 Trendlines

Postby Gidien » Fri Feb 22, 2013 5:40 am

Sorry ,

do not have this error.

Which Trading station Version do you use ?

Happen it on every symbol ?

best

Gidien
Gidien
FXCodeBase: Confirmed User
 
Posts: 106
Joined: Mon Feb 08, 2010 7:39 am
Location: Hamburg

Next

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 52 guests