# Point and figure charts automated trading system

Here is a system that trades automatically point and figure charts.

The way it works :

All closing prices are sorted into boxes at the end of each bar â€“ e.g. with a box size of 20 points, a close of 8247 will be in the box from 8240 to 8260.

The parameter “LowerBorderBox” is the lower end of this box. The upper end is LowerBorderBox + Boxsize.

When uptrend = 1 and downtrend = 0, there is an upward trend with long positions (XXXXX in P & F notation). When downtrend = 1, positions will be short (OOOOOO in P & F notation).

All boxes start at a value of 0 and their position is therefore fixed. For a box size of 20, we have boxes starting at a lower value of 0, 20, 40, 60, and so on. Or 8200, 8220, 8240, 8260â€¦

The variable “UptrendHigh” defines the lower price of the highest box (X) of a current uptrend. The variable “DowntrenLow”Â  defines the lower price of the lowest box (O) of a current downtrend.

The variable “turnafternn” sets after how many boxes in the opposite direction of the current trend, the trend direction is switched, e.g. from uptrend = 1 to downtrend = 1. Then, a buy or sellshort signal occurs.

For results identical to the point & figure charts built in ProRealTime, you have to set this threshold value to one unit higher than in the built-in charts. So, when we say that the P&F trend switches direction after 3 new boxes in the opposite direction in the built-in charts, we have to set turnafternn to a value of 4 in the automated trading system. I don’t know exactly why this is the case, but it appears that there is a difference in the definition of what a move of one box is. When we respect this difference, the point & figure charts are identical for the trading system and the built-in charts.

The results of point and figure trading are very much dependent on the box size. There is no single optimum value of the box size. As in Renko trading, results depend a lot on chance.

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

New! PRC is also now on YouTube, subscribe to our channel for exclusive content and tutorials

1. • 219 days ago #

Interesting concept, good work !

2. • 219 days ago #

Thank you. This is mainly to show the concept, but I would not trade with this system as it is. Maybe someone can find additional criteria how to improve the performance, and, above all, the reliability and constancy of a point and figure trading system. The problem with such systems (point & figure, as well as Renko) is the fixed box size and box position over the whole chart. You can get good results with a box size of 35, for example, but losses for a box size of 36. Box size 37 may be good again. Let not fool yourselves by the optical appearance of point & figure charts (or Renko) !

Register or

#### Likes

Related users ' posts
gabri
3 weeks ago
18
Strategies
Il tuo codice va benissimo, continua cosi'!! dovresti solo aggiungere una linea per fare in ...
c1 = (close CROSSES OVER ref) c2 = (close CROSSES under ref) IF c1 THEN cross = 1 ENDIF ...
Grazie, Gabri, per il tuo supporto e aiuto. Ti sono veramente grato! ContinuerÃ² a seguire il...
Francesco78
3 weeks ago
54
Strategies
Hi, I got the same problem in Oil USA 10'. The system was canceled because there is a divis...
I have opened a forum thread as suggested by Grahal in order to make discussion more confort...
Hola Francesco, Muy buenos resultados. No obstante, cuando pongo el cÃ³digo a funcionar, a...
Wilko
4 weeks ago
10
Strategies
Thank you all for your comments! I treat shorting very separately from the long side, at lea...
Wilko, Â great code!! I never worked with RSI2 and I found it very interesting. I made some ...
I'm happy my code snippet inspired some new thoughts! Thanks for the feedback!
Francesco78
4 weeks ago
10
Strategies
What does buy 1 Â«perpointÂ» means? I also see there is some inside candlestick trades that i...
Kenneth, it means that the tick value is 1 euro
Francesco, can you try to make this strategy with short and long proffit tragets just like i...
Francesco78
1 month ago
3
Strategies
Hi Francesco, thanks for your code. May I have your email? I'd like to send you a message. ...
Hi Stenizar and thank you! For the email, I think the rule of the forum is to ask Nicolas t...
OK Francesco, thanks
Pier
1 month ago
9
Strategies
Thanks Pier! Excellent! I add the SL capped at 0.8% for safety purpose. The Backtest perfor...
Dear Pier ,Â  your screenshot which rappresent the backtest , is since dec 2009 , but the eq...
Dear Pier, Does it work on forex?
Wing
2 months ago
10
Strategies
The system trades 1 to 3 contracts, and 5 under extreme circumstances. If trading the DAX 1 ...
Wing Can i find you on Twitter?
Hi Wing, Your code looks quite interresting. I was wondering if you could develop a bit mo...
Francesco78
2 months ago
0
Strategies
juanj
2 months ago
7
Strategies
Please send it to me with the contact form, thanks.
Hi! Thanks for sharing! Have the code been swapped to the new one? or is it the first one st...
Hi there - is there maybe somewhere a new version available to look at?
Francesco78
2 months ago
12
Strategies
hello Prince Myshkin. Thank you for the time you spent on my code. Im currently travelling, ...
Hi Prince Myshkin I was interested that you chose a 3 day (72hr) period for your ATR calc. ...
Seemore Profit
2 months ago
2
Strategies
Thanks for sharing your automated trading strategy idea. Even if you accumulate loosing orde...
Ok. Potential here to build onto this. Have opened a forum thread for further discussion: h...
juanj
2 months ago
24
Strategies
Okay so today the strategy again immediately stops out. Since IG changed the bitcoin quote p...
Â Hi I cannot get it to work on IG every position taken is a loss and only longs. Any ideas?...
@OGOSNELL, IG recently changed their quote prices for Bitcoin and this caused the strategy t...
ALE
2 months ago
12
Strategies
Hello GuysI'm trying to fix a problem that I missed during the probacktest, I update you as ...
The code has been updated in the attachment of the post with the last version which contain ...
Thanks as always Nicolas
Francesco78
2 months ago
39
Strategies
Â It seems it doesn't work, even with the change proposed by Francesco78. In fact the maximum...
Hi Pepmartorell, please let's continue the discussion on the forum thread so that we can sha...
Hi Pepmartorell, please let's continue the discussion on the forum thread so that we can sha...
2 months ago
2
Strategies
Hello Marc your strat seems very intersting, will take a look Reb
What exactly is meant by Total price? Is r1 =28 in your example the no of days for "Total P...
juanj
3 months ago
42
Strategies
thats weird, I get a completely different result..
I cant attach the picture here, shall we exchange email?
Hi Juan. Thanks for sharing. I like the concept.Â  I'm curious to find out what broker you ...
GDKLockout
3 months ago
3
Strategies
Nice idea thanks for sharing. I think you forgot to simulate spread thought, in the back tes...
https://www.prorealcode.com/topic/ftse-is-lying-strategy-discussion/
Have added a basic framework for further optimization and left some screen shots and source ...
bjoern
3 months ago
7
Strategies
Also change the ATR multiplier to 2 instead of 3. Slightly better drawdown.
Hi Everybody, when I look at the strategy I felt the need to implement a Moneymanagement-Sy...
Francesco78
3 months ago
6
Strategies
Hi Keemax, I dont have it on real at the moment, in any case the strategy is very long term ...
I did a little bit of work on that and now the results looks better and more stable. Please...
I did a little bit of work on that and now the results looks better and more stable. Please...
Francesco78
3 months ago
18
Strategies
Hi Juan Salas and thank you very much for your undeserved compliments. I'm not sure if I un...
Hi Francesco, Yes, this is pretty much the question. The system ask me a number of contract...
ok sounds good, you can put min size = 1 and go for the seasonable breakout too, also you ca...

Top