Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Working on automating The Holy Grail & Sharky's method
If i have an indicator that only paints bars, is it possible to pull that code into a strategy such that I can generate buy/sell signals from it?
I'm trying to automate these two strategies since everyone seems to have good experience (figure why can't this be automated...) adding in some position sizing, unwinding positions faster as risk is built up, etc etc
Trying to start with ADXVMA_sharky indicator... right now it only paints the adx line red/blue/yellow from my understanding...
what I want to implement is when red... sell, when blue... buy, when yellow... do nothing...
(from there on will build on the other indicators)
i've bold faced and underlined the area I believe would set the conditions....
any ideas on how this could be done?
Can you help answer these questions from other members on NexusFi?
Is part of the conditions for the LONG side of strat I've been testing recently. It looks for a two bar trend confirmation. Not the fastest, but worth considering.
should have updated earlier... figured it out... i'm a doofus!
was very easy to implement just by simply calling the indicator into the strategy...
going to go through the thread again later tonite to see the specific conditions that = true in order to enter a trade for either strategy...
or if someone once to be a champion and post the exact conditions that'll make life much easier.... have much of the money management logic in place...
running a random entry for the money management nets positive edge, so that much does look good (was tested on 12000+ trades)
I have been using the ADXVMA in a strategy too. I added a a MAslope data series to the indicator, made it a public data series. Then the strat just checks the value ( I used a -1 = negative, 0 = flat , 1 = positive slope) of the data series for the bar you are interested in.
When checking that actual "price" value of the plotted line of an indicator I use the simpler version ie non paint. I think it uses less system resources.
In a strategy that has multiple entry conditions I like to create variables in the strategy that I then set at the beginning of the OnBarUpdate based on the relevant indicator states at that bar. Then instead of calling the indicators over and over I just check the variables.
Hi RBSailing , you mention a MASlope which I am looking for to work with the TripleEMA with 2 diiferent length, using the longer one as a filter. How can I get an indicator transformed to have the slope? I would like to have a general script to input in different indies. Have you an idea how to do?
Thanks Wolfsch
Hi RBSailing , you mention a MASlope which I am looking for to work with the TripleEMA with 2 diiferent length, using the longer one as a filter. How can I get an indicator transformed to have the slope? I would like to have a general script to input in different indies. Have you an idea how to do?
Thanks Wolfsch
There is an indicator in the download section ColorSampleUniversalMovingAverage
That should do the job for you. I am not sure the exact algorithm they use. I will look at it and posagain. I modified the slope angle calculation that I think originate at NT forum. That calculation averaged the indicator value of the last 2 bars and then compared it to the current value. I removed the averaging so I just check the slope form the last bar to the current bar.
Have you lookad at the LinReg Ma?