GithubHelp home page GithubHelp logo

momentum's Introduction

Momentum

Preview of strategy

Core Properties

Splitting Momentum lenghts up in iterates

The reason to do this is reducing the amount of calculations the script goes through, to keep it within the limits of PineScript.

The iterates will split up momentum lenghts from the largest available 5400 to the smallest usefull approx 30

This can be done Linear, dividing the steps equally, Logarithmic or Exponential.

Favor goes out to Exponential, as longer momentum lenghts equal each other more.

Preview of strategy

In the above image you see momentum indexed from -1 to 1 colored red to green, split exponentially in rows of each iterate lenght.

Fluid transformations

Short motivation for fluid transformations vs arbitrary settings

Triggering entries

Add formula and image. // Should be scaled to timeframe

Weighted entries

Add formula and image // Focus Should be adjustable

Macro trending bias

A factor (a) limited from -1 to 1 will be applied on the iterates with following formula:

Trending Transformation

A note here is that a percental based (a) would have its limits from -1 to โˆž If this is what should be applied, the math of the formula needs to be changed accordingly.

This transformation could be applied flat to all iterates. But this could mean an unjust bias is applied to the smaller momentum lenghts.

A simple proposition to improve this, is applying a decay curve to the bias factor. A complex curve could later be calculated to deviate from this decay curve based on lenghty backtesting and optimization results with ML.

Trending Transformation Temporal decay curve

An example of the decay curve, simple and measured.

Trending Transformation Temporal decay curve example

Macro to micro focus

Add formula and image, Use-case examples

Strong securities

Breakout adaptation

Use-case examples

Account balancing

Use-case examples

Usefull analytical tools

Momentum scope

Add image

Position average

Add image

Open interest

Add image + Use-case

Drawdown

Add image + use-case

Profit and Loss

Add image + use case

Tools for automation

?

momentum's People

Contributors

michiel-celis avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.