catching dataseries from DoubleMA - futures io
futures io



catching dataseries from DoubleMA


Discussion in NinjaTrader

Updated
    1. trending_up 3,131 views
    2. thumb_up 0 thanks given
    3. group 0 followers
    1. forum 1 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • 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 and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

catching dataseries from DoubleMA

(login for full post details)
  #1 (permalink)
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 924 received

Hi,
the DMA is all arround here in new modifications now.
I just "came over" from the old original version - now looking for to use that new thing in strategys. Therefor we need to have different dataseries to catch
If there are ideas to this, here we can make a code-sample-collection !

max-td

Started this thread Reply With Quote

Journal Challenge April 2021 results (now extended!):
Competing for $1800 in prizes from Jigsaw
looks_oneMaking a Living with the Microsby sstheo
(111 thanks from 18 posts)
looks_twoSalao's Journalby Salao
(36 thanks from 8 posts)
looks_3Deetee’s DAX Trading Journal (time based)by Deetee
(29 thanks from 13 posts)
looks_4Learning to Profit - A journey in algorithms and optionsby Syntax
(14 thanks from 9 posts)
looks_5Maybe a little bit different journalby Malykubo
(9 thanks from 9 posts)
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Would You Sell Your System?
73 thanks
Big Mike in Ecuador
57 thanks
The Crude Dude Oil Trading System
50 thanks
The New Micro Contract - MICRO BITCOIN coming May 2021
25 thanks
futures io site changelog and issues/problem reporting
24 thanks
 
(login for full post details)
  #2 (permalink)
 Big Mike 
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: Custom solution
Trading: Futures & Crypto
 
Big Mike's Avatar
 
Posts: 49,980 since Jun 2009
Thanks: 32,454 given, 98,223 received

max-td,

There is a version of DoubleMA posted here:


There are a few more tweaks being made, but you can download that one for now to get the "latest" build.

There should be a Signal dataseries and a DMV dataseries. Signal would be -1 for short, 0 for neutral, and 1 for long. DMV dataseries will show the DoubleMA value no matter which plot it is occuring on.

Here is some code that I wrote earlier tonight that may be of use. I've not tested it!

 
Code
//
// determine last DoubleMA neutral plot
//

// DMAneutral is a dataseries you need to define
// dmantemp is a double you need to define
// DMAadxvma is optimizable param you need to define
// DMAzlema is optimizable param you need to define


if (DoubleMA(DMAzlema, NinjaTrader.Indicator.MAV.MAType.ZeroLagEMA, DMAadxvma, NinjaTrader.Indicator.MAV.MAType.ADXVMA).Signal[0] != 0)

if (DoubleMA(DMAzlema, NinjaTrader.Indicator.MAV.MAType.ZeroLagEMA, DMAadxvma, NinjaTrader.Indicator.MAV.MAType.ADXVMA).Signal[1] == 0)

                {
                    DMAneutral.Set(DoubleMA(DMAzlema, NinjaTrader.Indicator.MAV.MAType.ZeroLagEMA, DMAadxvma, NinjaTrader.Indicator.MAV.MAType.ADXVMA).NeutralPlot[1]);
                }
            
            if (DMAneutral[0] != 0)
                dmantemp = DMAneutral[0];
            else
                DMAneutral.Set(dmantemp);
Mike

Follow me on Twitter Visit my futures io Trade Journal Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > catching dataseries from DoubleMA


Last Updated on June 12, 2009


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Journal Challenge w/$1,800 in prizes!

April

Seven Trading Mistakes Solved With Smart Trading Tools w/Brannigan Barrett

Elite only
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts