⭐ fryguy1 Posted January 3, 2017 Report Posted January 3, 2017 I have some code for TOS platform that I would like converted to NinjaTrader. I think the indicator are worth looking at. The code is below, I'm just not sure if theirs a site that offers this. Video on it: CODE BELOW -------- # declare lower; def UVol = close("$UVOL"); def DVol = close("$DVOL"); def TVol = close("$TVOL"); def Advn = close("$ADVN"); def Decn = close("$DECN"); def Uncn = close("$UNCN"); def UpDNA_Issues = Advn/(Advn+Decn+Uncn); def DnDNA_Issues = Decn/(Advn+Decn+Uncn); def UpDNA_Vol = UVol/TVol; def DnDNA_Vol = DVol/TVol; plot MidLine = 0.5; MidLine.SetDefaultColor(color.RED); MidLine.HideBubble(); plot TopLine = 0.8; MidLine.SetDefaultColor(color.RED); TopLine.HideBubble(); plot BottomLine = 0.2; MidLine.SetDefaultColor(color.RED); BottomLine.HideBubble(); plot U_DNA_V = UpDNA_Vol; U_DNA_V.SetDefaultColor(color.Light_GREEN); U_DNA_V.HideBubble(); plot D_DNA_V = DnDNA_Vol; D_DNA_V.SetDefaultColor(color.YELLOW); D_DNA_V.HideBubble(); plot U_DNA_I = UpDNA_Issues; U_DNA_I.SetDefaultColor(color.GRAY); U_DNA_I.HideBubble(); plot D_DNA_I = DnDNA_Issues; D_DNA_I.SetDefaultColor(color.PINK); D_DNA_I.HideBubble(); Quote
lululee Posted January 3, 2017 Report Posted January 3, 2017 Hi Furyguy...i put this request on other forum too...lets hope somone will help. If somone did...I will post the indicator here. Quote
Bill A Posted January 3, 2017 Report Posted January 3, 2017 If possible could you please post the TradeStation code also - it says on his site he has released code for TOS and TS ? many thanks Quote
⭐ fryguy1 Posted January 3, 2017 Author Report Posted January 3, 2017 TradeStation: http://uploadmirrors.com/download/0AFX5DYT/MarketXfactor_TS.zip sgueta and Bill A 2 Quote
lululee Posted January 3, 2017 Report Posted January 3, 2017 TradeStation: http://uploadmirrors.com/download/0AFX5DYT/MarketXfactor_TS.zip is the code on top is for TOS, is it full code and if not can you also put the code for TOS ??? Quote
Bill A Posted January 3, 2017 Report Posted January 3, 2017 TradeStation: http://uploadmirrors.com/download/0AFX5DYT/MarketXfactor_TS.zip Many many thanks I will try it out.... Quote
⭐ fryguy1 Posted January 3, 2017 Author Report Posted January 3, 2017 (edited) is the code on top is for TOS, is it full code and if not can you also put the code for TOS ??? That's the full code. http://uploadmirrors.com/download/1VNATWKA/MarketXfactor_TOS.zip Few videos on it: Edited January 4, 2017 by fryguy1 ⭐ traderkx and lululee 2 Quote
kenny123 Posted January 4, 2017 Report Posted January 4, 2017 That's the full code. http://uploadmirrors.com/download/1VNATWKA/MarketXfactor_TOS.zip Few videos on it: Can't open it can someone post the full tos code? Quote
zoheb Posted January 4, 2017 Report Posted January 4, 2017 Can't open it can someone post the full tos code? This is all that the zip archive has in a text file: # # declare lower; def UVol = close("$UVOL"); def DVol = close("$DVOL"); def TVol = close("$TVOL"); def Advn = close("$ADVN"); def Decn = close("$DECN"); def Uncn = close("$UNCN"); def UpDNA_Issues = Advn/(Advn+Decn+Uncn); def DnDNA_Issues = Decn/(Advn+Decn+Uncn); def UpDNA_Vol = UVol/TVol; def DnDNA_Vol = DVol/TVol; plot MidLine = 0.5; MidLine.SetDefaultColor(color.RED); MidLine.HideBubble(); plot TopLine = 0.8; MidLine.SetDefaultColor(color.RED); TopLine.HideBubble(); plot BottomLine = 0.2; MidLine.SetDefaultColor(color.RED); BottomLine.HideBubble(); plot U_DNA_V = UpDNA_Vol; U_DNA_V.SetDefaultColor(color.Light_GREEN); U_DNA_V.HideBubble(); plot D_DNA_V = DnDNA_Vol; D_DNA_V.SetDefaultColor(color.YELLOW); D_DNA_V.HideBubble(); plot U_DNA_I = UpDNA_Issues; U_DNA_I.SetDefaultColor(color.GRAY); U_DNA_I.HideBubble(); plot D_DNA_I = DnDNA_Issues; D_DNA_I.SetDefaultColor(color.PINK); D_DNA_I.HideBubble(); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.