Giter VIP home page Giter VIP logo

quantfunctions's People

Contributors

pverspeelt avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

quantfunctions's Issues

Create vignette

use usethis::use_vignette to create one or more small vignettes to show how some functions work.

Update readme

update readme file
use usethis::use_readme_rmd() to create a new readme file for showing some examples.

ATR_trail_stop modification suggestion

Hi, first of all congratulation on the great work for creating Sylvain Vervoort ATR trailing stop in R. Attached is a picture and a code that shows a modified version that creates further 3 fib levels in conjunction with the trail that often provides great limit entries during pullback. Just thought you might be curious to model this in R.

The main part of the attached code file for the 3 fib lines are :
##############################################################

def BuySignal = Crosses(state == state.long, 0, CrossingDirection.ABOVE);
def SellSignal = Crosses(state == state.short, 0, CrossingDirection.ABOVE);

def ex = if BuySignal then high else if SellSignal then low else if state == state.long then Max(ex[1], high) else if state == state.short then Min(ex[1], low) else ex[1];

def f1 = ex + (trail - ex) * fib1Level / 100;
def f2 = ex + (trail - ex) * fib2Level / 100;
def f3 = ex + (trail - ex) * fib3Level / 100;

##############################################################

SuperTrendSTUDY.txt

change error messages to use glue

Some error messages use sprintf but the layout of the messages is not nice. Glue might be better suited for error message delivery.

Switch to tinytest

Switch from testthat to tinytest. testthat has too many dependencies.

Create new test for ATR_stop calculations

For some reason the expect_known_hash test came up with a new hash value. Might be due to new R version or testthat package update. Need to rewrite the test and replace the expect_known_hash value with calculated values. The calculations from the example file don't take long.

add swing points

Create and add a function that shows the swing points on a chartSeries

Add signal marker

Add signal marker

  1. add code to R file

  2. add test functions

  3. add documentation and use roxygen2 @family to connect it to the safezone stop. see pages 158-160 from "come into my trading room"

Add market thermometer

Add market thermometer

  1. add code
  2. add tests
  3. add documentation and use @family to join it to the signal marker and safezone.

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.