| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #17 | ||
![]() | Re: TTM Scalp Average for Ninja theavg = average((( s_low + s_high) /2 ), len); I would assume that average requires a series as input. So what happens when s_low + s_high) /2 is inserted instead? Is this truly equivalent to the following ninja statement: Midpoints.Set((s_low + s_high)/2.0); theavg = SMA(Midpoints, pLen)[0]; | ||
| |
|
| | #18 | ||
![]() | Re: TTM Scalp Average for Ninja | ||
| |
|
| | #19 | ||
![]() | Re: TTM Scalp Average for Ninja | ||
| |
|
| | #20 | ||
![]() | Re: TTM Scalp Average for Ninja It obvious there's plenty of trades on this chart. I look at it as the longer average is over the shorter so I just look for shorts. There's a few here. You just have to figure out what plan to follow. I like crosses of the shorter average and not rejections but on the longer I like rejections and not crosses. If that makes any sense. | ||
| |
|
| | #21 | ||
![]() | Re: TTM Scalp Average for Ninja | ||
| |
|
| | #22 | ||
![]() | Re: TTM Scalp Average for Ninja This implies that the following are not equivalent: tradestation: theavg = average((( s_low + s_high) /2 ), len); Ninja: Midpoints.Set((s_low + s_high)/2.0); theavg = SMA(Midpoints, pLen)[0]; The tradestation version is adding to "theavg" only when a new swing is detected. The Ninja version is adding a point on every bar, hence the extreme smoothing. At least this is my assumption. Last edited by justlurkin; 01-21-2009 at 02:25 PM. | ||
| |
|
| | #23 | ||
![]() | Re: TTM Scalp Average for Ninja thx! | ||
| |
|
| | #24 | ||
![]() | Re: TTM Scalp Average for Ninja | ||
| |
|
![]() |
| Tags |
| average, coding, ninja, ttm |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Free MP for Ninja | darthtrader | Market Profile | 17 | 01-19-2009 04:55 PM |
| ? Ninja Trader | bobby | Introduce Yourself | 2 | 11-22-2008 01:02 PM |
| Using .eld Indicators in Ninja Trader | coldsigh | Coding Forum | 3 | 10-09-2008 12:44 AM |
| Ninja Trader and Interactive Brokers | Freddie | Brokers and Data Feeds | 3 | 02-21-2007 10:30 PM |
| Question with Ninja.... | Soultrader | Brokers and Data Feeds | 9 | 01-25-2007 11:18 AM |