Help coding a basic system to backtest a theory

Login or Register

Please login or register in order to view and post in the Forum.

15 posts / 0 new
Last post
thomaskurtwhite
Last seen: 3 years 9 months ago
Joined: 09/05/2013 - 00:00
Perfect Chad, thanks. One

Perfect Chad, thanks. One more thing., Is it possible to have the trade apply to a naked fractal (from the same day only), if not already in a trade? Example below.

cpayne
Last seen: 1 year 7 months ago
Joined: 03/30/2009 - 00:00
NakedLines RTX

So I had to create a new RTX Indicator to provide the ability to access the closest naked values (in this case, the closest naked down fractals).  Pretty powerful indicator.  You'll be our first beta tester.  To test this, take the dll within the attached zip file and place it into this folder...

C:\Users\Chad\InvestorRT\dll
(substitute your Windows username for Chad).

Also, create a blank folder at this location...

C:\Users\Chad\InvestorRT\rtx\lsNakedLines
(Just an empty folder titled lsNakedLines within the C:\Users\Chad\InvestorRT\rtx\  folder).

Then restart I/RT.  At that point, you should be able to add the indicator to your chart, and use it in a backtest.  I'll send you another chart def once you have that in place.  Below you get a good idea what this provides with the black dots.

thomaskurtwhite
Last seen: 3 years 9 months ago
Joined: 09/05/2013 - 00:00
Hi Chad,

Hi Chad,
All completed. Looking forward to testing it. I've tried to add Selling the Hi fractals via inversing your FractalLowBuy rules but cant't seem to get that to work. As I said, I'm not a coder at all. I'd like to send you the chart def so you can have a look if it's not too much trouble. Thanks for all your help with this.

cpayne
Last seen: 1 year 7 months ago
Joined: 03/30/2009 - 00:00
Naked Fractals Chart

Import this chart: https://www.linnsoft.com/charts/nakedfractallines-es

It plots the closest naked values using the up fractals plus 4 ticks and the down fractals minus 4 ticks.  We'll have to work this indicator into your trading system

Pages