Modular code

Viewing 2 posts - 1 through 2 (of 2 total)
  • #50656
    I am developing a modular code which means you can add/delete any paragraph and it still works so it can easily be developed further over time.
    There are multiple conditions and each condition can be either zero or will be given a value based on how important that condition is. (Optimised by PRT) If the total value of all conditions is higher than Criteria (Again value of criteria determined  by PRT) then Buy. The code is only to buy and will only sell if trailing stop is triggered.
    Feel free to add your paragraph and condition and share here so we can all comment and develop like a team.

     

    #52368

    Hi Mansoor, not entirely clear what you are trying to do but looks like something I tried a couple of years ago, a sort of simplistic machine learning algo .  I had it where each condition could be weighted and have a value of between 1 and 10 and combinations of indicators could be tested and when the total value of all the conditions reached a threshold determined via backtest e.g. > 50 then a signal would be generated.  I abandoned it as it soon became overly complex and the back testing took way too long.

Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login