Be careful with indicators programmed by AI – such as ChatGPT[Free]

I was hoping to create a short cut by using AI generated code, but… I asked ChatGPT[FREE] to provide source in Python for Wilder’s Directional Movement Index.  Here is what it generated. Notice where the Positive Directional Movement pdm and Negative Directional Movement mdm are calculated.  This calculation is correct, and it needs to be carried […]

READ MORE

Don’t Be Afraid of Classes in Python (using TS-18 Indicators)

Many of TS-18 Indicators are Class Based and Here is Why! Many indicators need their prior bar’s value to calculate the current bar’s value.  In Python, external modules or functions that calculate these values have amnesia; they can’t even remember what their prior output was.  In TS-18, all indicators and their associated classes and functions […]

READ MORE

Panama Adjusted Continuous Data Updated thru May 2023

Check out the new data by going to the TradingSimula18 download page.  Also, I will be releasing the latest version of TS-18 that is much faster and has a few more bells and whistles very soon.  Equity curves are now created for each market in the portfolio via Excel workbook. New Sector Analysis: Sector Break […]

READ MORE

Synthetic Trading Class

——————————————————————————-
Name:        synthTradeClass
Purpose:     Calculates and tracks positions based on synthetic orders
runs independed of ‘real’ order directives.
Author:      George
Created:     17/08/2022
Copyright:   (c) George 2022
——————————————————————————-

READ MORE

Trend Following Systems Update and New Release of TS-18 Coming Soon

Hello to All! I have provided an update to the continuous contract data that I was filtering from the Quandl’s free Chris database or WikiFutures.  Unfortunately, like many of the data streams from Quandl that database has been deprecated.  So I will see if I can find some other free data.  However, the data from […]

READ MORE

Programming A Swing System in TradingSimula-18 and Python

Swing-Pivot System in TS-18 Hello I just released a video that details this system  Here is the pseudo-code. Start off looking for the completion of 6 daily bars If Looking for High Pivot: UpCnt +=1 UpCnt > 6 – Once six bars has transpired then start looking for a High Pivot Pt myHigh[D1] > myHigh[D2] […]

READ MORE

Trend Following Systems DIY: Has Been Translated into Japanese ようこそ + Update On What’s Going On

Pan Rolling has Translated TFS-DIY It is available on Pan Rolling’s website at PanRolling.com – just search for George Pruitt. I am in the process of updating the data through the last couple of days and will have that available on the website.  I am also refactoring the code to make it easier to wade […]

READ MORE

Data for TS-18 updated thru Dec 21, 2020

Date Update Now Available on the TS-18 page   I have updated data for those users of TS-18 from 2005 through Dec 21, 2020   Good luck with your programming and testing.

READ MORE

Set Your Own Slippage Dynamically

WowsssadfSlippage Can Vary Throughout the Life of a Back-Test Many testing platforms allow you to set a slippage and commission fee on a trade by trade basis.  The only problem is that it is fixed for the life of the back test.  You can always set a high amount to err on the side of […]

READ MORE

The Enigmatic Turtle Trading System in Python

Correction to Original Post!  Turtle Intro [Corrections in bold and results –  August 6, 2020] My favorite book on the Turtle Trading System is Curtis Faith’s “Way of the Turtle.”  I like this book because of the thorough explanation of the rules as told by Curtis.  Having been in this industry for a very long […]

READ MORE
  • 1
  • 2