Anyone here willing to convert to NT? I think is quite useful.
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Conversion Request: Tape / tight trend lines
Collapse
X
-
I'm clueless with EL. The only reason I can convert anything any all is because MQL code is almost identical to NinjaScript.
The indicator does look interesting though.
Comment
-
Don't get me wrong, but isn't this indicator pretty useless without setting a certain span it should adapt to highs and lows?
I'm still looking for a NT auto trendline indicator, which really does the job (channels etc.).
Comment
-
timokrates, did you check into this here -
http://www.ninjatrader-support2.com/...tomatic&desc=1 (first listing, 'auto trendline detection' )BertrandNinjaTrader Customer Service
Comment
-
Thanks for the tip, bertrand.
Yes I tested it, but it's not really what I'm looking for.
It only draws lines on one side, so no channels, wedges etc.
Grüße nach Hamburg!
Comment
-
Originally posted by ctrlbrk View PostThis is stolen from ET and is in EasyLanguage.
Anyone here willing to convert to NT? I think is quite useful.
The license is public, so I don't think you are stealing anything.
but you should retain the credit of the original author.
This is just common courtesy.
// Tape v1.0
// Author: TUMS
// Date: October 2008
// License: public domainLast edited by ninjanew; 12-29-2009, 09:47 AM.
Comment
-
dj22522, if no one comes forward with a NT7 version, you can either do the conversion yourself or you can contact one of our third party NinjaScript consultants.AustinNinjaTrader Customer Service
Comment
-
Originally posted by NinjaTrader_RyanM View PostHello dj22522,
For help getting this into NinjaTrader 7, please see the following link then Migrating NinjaScript files section:
http://www.ninjatrader.com/migration-guide-v7.php
I copied the source file from NT6.5 to NT7 but the cs file will not compile.
There error is identical for each of four lines:
line 52 column 6,
line 53,column 6
line 59 column 7
line 60 column 7
The error description for each of the above lines is:
"No overload for mehtod "Draw Line" takes 8 arguments."
and here are the 4 lines, in bold.
Any help appreciated.
DrawLine(CurrentBar.ToString(),2,Low[2],2,Low[1]+slope,TapeColor,DashStyle.Solid,1);
DrawLine(CurrentBar.ToString()+"Par",2,Low[2]+tapewidth,0,Low[1]+tapewidth+slope,TapeColor,DashStyle.Solid,1);
} else
if (Low[1]<Low[2])
{
slope = High[2]-High[1];
DrawLine(CurrentBar.ToString(),2,High[2],0,High[1]-slope,TapeColor,DashStyle.Solid,1);
DrawLine(CurrentBar.ToString()+"Par",2,High[2]-tapewidth,0,High[1]-tapewidth-slope,TapeColor,DashStyle.Solid,1);
Last edited by dj22522; 12-12-2010, 02:05 PM.
Comment
-
You likely just need to add autoscale parameter for DrawLine()
DrawLine(CurrentBar.ToString(), true, 2,Low[2],2,Low[1]+slope,TapeColor,DashStyle.Solid,1);
DrawLine(CurrentBar.ToString()+"Par", true, 2,Low[2]+tapewidth,0,Low[1]+tapewidth+slope,TapeColor,DashStyle.Solid,1);Ryan M.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by andrewtrades, Today, 04:57 PM
|
1 response
4 views
0 likes
|
Last Post Today, 05:02 PM | ||
Started by chbruno, Today, 04:10 PM
|
0 responses
3 views
0 likes
|
Last Post
by chbruno
Today, 04:10 PM
|
||
Started by josh18955, 03-25-2023, 11:16 AM
|
6 responses
436 views
0 likes
|
Last Post
by Delerium
Today, 03:42 PM
|
||
Started by FAQtrader, Today, 03:35 PM
|
0 responses
6 views
0 likes
|
Last Post
by FAQtrader
Today, 03:35 PM
|
||
Started by rocketman7, Today, 09:41 AM
|
5 responses
19 views
0 likes
|
Last Post Today, 03:33 PM |
Comment