Point and figure charts automated trading system

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.

 

 

Share this

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. Doctrading • 219 days ago #

    Interesting concept, good work !

     

  2. verdi55 • 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) !

avatar
Register or

Likes

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

Top