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.
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.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue