NexusFi: Find Your Edge


Home Menu

 





DoubleMAPaint with sound arrows...


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Big Mike with 24 posts (0 thanks)
    2. looks_two Buster with 12 posts (0 thanks)
    3. looks_3 Peter with 8 posts (4 thanks)
    4. looks_4 sam028 with 7 posts (0 thanks)
    1. trending_up 25,698 views
    2. thumb_up 4 thanks given
    3. group 10 followers
    1. forum 68 posts
    2. attach_file 18 attachments




 
 

DoubleMAPaint with sound arrows...

 
Buster
 
Posts: 20 since Jun 2009
Thanks Given: 1
Thanks Received: 2

I was trying to set up a chart like sharky's on ZN from the Sam's thread.
What I mean is, the flatline only happens when I turn off calculate on bar close set it to FALSE.
If its on TRUE, it doesn't do it.
It doesn't matter on the settings of type of MA period etc.
Just the bar close makes it do it.
I haven't restarted NT but I did compile all those files now twice so really I shouldn't need to should I?
Thanks


Can you help answer these questions
from other members on NexusFi?
Are there any eval firms that allow you to sink to your …
Traders Hideout
Better Renko Gaps
The Elite Circle
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Futures True Range Report
The Elite Circle
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
38 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
GFIs1 1 DAX trade per day journal
19 thanks
The Program
18 thanks
 
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,397 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537


Buster View Post
I was trying to set up a chart like sharky's on ZN from the Sam's thread.
What I mean is, the flatline only happens when I turn off calculate on bar close set it to FALSE.
If its on TRUE, it doesn't do it.
It doesn't matter on the settings of type of MA period etc.
Just the bar close makes it do it.
I haven't restarted NT but I did compile all those files now twice so really I shouldn't need to should I?
Thanks

So if you set DoubleMAPaint to:
14 ZeroLagEMA
2 ADXVMA

COBC = false

Then you see the problem? Because I have tested it here on ES and ZN and it works fine.

You need to be sure you removed DoubleMAPaint from your chart after you compiled the new version. Then add it back.

Mike

Follow me on Twitter Visit my NexusFi Trade Journal
 
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,397 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537



Buster View Post
I haven't restarted NT but I did compile all those files now twice so really I shouldn't need to should I?
Thanks

Compiling just forces it to update new .cs code you stuck directly into the directory instead of Importing.

NT should also pick them up on restart, but I prefer to compile to be sure there are no errors.

For sure you need to remove it from you chart completely, then re-add it.

Mike

Follow me on Twitter Visit my NexusFi Trade Journal
 
Buster
 
Posts: 20 since Jun 2009
Thanks Given: 1
Thanks Received: 2

Ok I made sure it was removed from all charts and did it all again.
And it still gives the flat line when I turn off calculate on bar close when I move it away from the right margin.
As I said the only thing I haven't done is restart ninja trader.

 
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,397 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537

Will you please confirm you can duplicate the issue using these settings:


Big Mike View Post
So if you set DoubleMAPaint to:
14 ZeroLagEMA
2 ADXVMA

So I can test on my end. It is important to me to know the exact settings and exact market (ES, ZN). I don't think you've answered the market yet either.

Mike

Follow me on Twitter Visit my NexusFi Trade Journal
 
Buster
 
Posts: 20 since Jun 2009
Thanks Given: 1
Thanks Received: 2

I just tried to export both DoubleMA and DoubleMAPaint and start again and it wont allow me because of MAV.cs(137,54) CS0103 The name 'DynamicSR' does not exist in the current context.

 
Buster
 
Posts: 20 since Jun 2009
Thanks Given: 1
Thanks Received: 2

Ive tried on ES and ZN 6E TF and restarted NT.
I shutdown NT manually Deleted DoubleMA DoubleMAPaint and all the other files in the dmafix.zip.
Then re put them back from the zip.
And restarted it.
I then tried it on ES ZN ZB TF YM 6E
And its doing the flatline when I set CalculateOnBarClose = False.

 
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,397 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537

You need to overwrite all the files when you extract from the zip. It is important.

Here is DynamicSR.cs incase I forgot to put it in the zip.

Also, I'm still waiting to hear from you on your exact MA settings so I can test that on my side. If I am not being clear please say so. Just trying to help you, but if you don't give me the exact settings to test with then I can't help -- because everything I've tried on my end works fine.

Mike

Attached Files
Elite Membership required to download: DynamicSR.cs
Follow me on Twitter Visit my NexusFi Trade Journal
 
 
Peter's Avatar
 Peter 
Brisbane; Australia
 
Experience: Intermediate
Platform: NT
Broker: IB/TDA needing new broker
Trading: Futures, Forex, Stocks
Posts: 97 since Jun 2009
Thanks Given: 91
Thanks Received: 118

I think we have to be careful here to prevent confusion. There are two flatline possibilities .. NOT related to each other.

1. If you don't have enough historic data on your chart you will always get a flatline as the indicators still have unstable very low values.
You can see this if you move to the beginning of your data. You will see a couple of black bars sticking down on the left.
Even on a Range 4 chart I load 10 days of historic data.

2. Some users have a problem with certain settings related to the DMA/ADXVMA combination. In that case you will see a red line sticking down on the right side of the chart. (The chart tries to display a new zero value).
The latest version of Mike's DMAPaint works pretty good with me. Only one flatline of this type in two days. Some here suspect this is a NT bug rather than a DMAPaint indicator bug.
In my experience this type of flatline problem only disappears if you restart NT. Just adapting settings or reloading other versions of the indicators did not solve it for me. Also if one range chart starts to flatline my other active range charts also suddenly start flatlining.
IMHO it appears that the problem remains somewhere in NT memory. Anyway, in my case the problem will not disappear until I close and restart NT.

But as there is now a new type [AUTOLINK]moving average[/AUTOLINK] ADXVMA indicator in the download section you may want to use that to circumvent DMA/ADXVMA combination problems.


Also remember that only indicators in the download section are (to our expectation) considered stable. The indicators discussed on other places on the forum are still work in progress.
In any case it is advised to make good backups before importing and or testing new indicators.

Thanked by:
 
Buster
 
Posts: 20 since Jun 2009
Thanks Given: 1
Thanks Received: 2


Ok ill try and be clear here sorry for any confusion.
I had the original files called,

ChannelThis_and_DoubleMA_BigMike_ctrlbrk_05182009.zip

I downloaded the files from this thread called,

dmafix.zip DoubleMAPaint.zip

I then unzipped the files and copied and pasted into NT directory and overwrote the existing files and compiled and restarted etc.
It didnt fix the problem.
I then went and deleted them all, and put them in there again and did the same thing.
Its still the same.
It doesn't matter how much data ive got, ive used differing amounts 3 days to 7-15 days.
It doesn't matter on settings of MA type period etc, ive tried 50 different combo's it all does the same.
It is specifically related to CalculateOnBarClose.
If I set that to False, it gives a flatline and moves everything to the top of the chart.
If I set AutoScale to False, it gives a long line down the chart at the end of the page but doesnt move the chart up.
I have posted a .rar file with this post, with 6 jpg's that show the conditions when the certain settings are present.

Attached Thumbnails
Click image for larger version

Name:	BarCloseOffAutoScaleOffChart.JPG
Views:	320
Size:	85.4 KB
ID:	226   Click image for larger version

Name:	BarCloseOffAutoScaleOffSettings.JPG
Views:	262
Size:	48.6 KB
ID:	227   Click image for larger version

Name:	BarCloseOffChart.JPG
Views:	279
Size:	103.2 KB
ID:	228   Click image for larger version

Name:	BarCloseOffSettings.JPG
Views:	275
Size:	49.6 KB
ID:	229   Click image for larger version

Name:	BarCloseOnChart.JPG
Views:	297
Size:	122.4 KB
ID:	230   Click image for larger version

Name:	BarCloseOnSettings.JPG
Views:	260
Size:	43.3 KB
ID:	231  

 



Last Updated on December 13, 2013


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts