NexusFi: Find Your Edge


Home Menu

 





Indicator: Add to opened position


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one ivanjocic with 9 posts (15 thanks)
    2. looks_two nightshade with 6 posts (2 thanks)
    3. looks_3 rfiske with 5 posts (0 thanks)
    4. looks_4 rajafx1 with 4 posts (0 thanks)
      Best Posters
    1. looks_one Silvester17 with 2.7 thanks per post
    2. looks_two ivanjocic with 1.7 thanks per post
    3. looks_3 devdas with 1 thanks per post
    4. looks_4 nightshade with 0.3 thanks per post
    1. trending_up 16,022 views
    2. thumb_up 27 thanks given
    3. group 11 followers
    1. forum 39 posts
    2. attach_file 15 attachments




 
Search this Thread

Indicator: Add to opened position

  #1 (permalink)
 ivanjocic 
Abu Dhabi, UAE
 
Experience: Intermediate
Platform: NinjaTrader
Broker: IB
Trading: forex, DAX
Posts: 24 since May 2010
Thanks Given: 2
Thanks Received: 28

Hi guys,

recently I've stumbled on following post Linear Regression Angle Measurement by Doug Tucker. It looked nice and I wanted to give it a try creating such indicator.
To keep it simple, indicator can indicate when to topup your position in a trend even if it's not so obvious where to do it.
Joking arround with parameters it also can give you a confirmation on a divergence if you trade them.
I've tried this indicator on Range charts using FX instruments.

On the first image you can see how nice have been identified places where to add to an existing position, or even enter market if not done so already.

On the second one we have "clear" trend change identification much before LinReg(60) stated so. You can see it on a 3rd image in "zoomed-out" mode that trend changes are easily spotted.

On the last one you can see example of trading divergences.

Please note that only, if compiled in Debug mode (see NT help for more info) you will see red and blue lines in indicator section. otherwise you will see histogram only.

What do you think about it? Somebody finds this useful?

Happy trading,
Ivan

Attached Thumbnails
Click image for larger version

Name:	ichi1.png
Views:	868
Size:	92.0 KB
ID:	16643   Click image for larger version

Name:	ichi2.png
Views:	859
Size:	89.6 KB
ID:	16644   Click image for larger version

Name:	ichi3.png
Views:	813
Size:	89.4 KB
ID:	16645   Click image for larger version

Name:	ichi4.png
Views:	770
Size:	56.9 KB
ID:	16646  
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
Exit Strategy
NinjaTrader
Futures True Range Report
The Elite Circle
 
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
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
The Program
18 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #3 (permalink)
 
Trader.Jon's Avatar
 Trader.Jon 
Near the BEuTiFULL Horse Shoe
 
Experience: Beginner
Platform: NinjaTrader
Broker: MBTrading Dukascopy ZenFire
Trading: $EURUSD when it is trending
Posts: 473 since Jul 2009
Thanks Given: 401
Thanks Received: 184


Thanks very much! It looks very interesting, and I have long been a fan of Linear Regression so it is a welcome addition.

Is there any NT 6.5 version available? I am trying to modify it myself without much headway. I would like to sim this in a strategy.

Jon

Reply With Quote
  #4 (permalink)
 rfiske 
temecula,ca
 
Experience: Advanced
Platform: NT
Broker: AMP/Zen
Trading: Euro
Posts: 46 since May 2010
Thanks Given: 33
Thanks Received: 8

Thanks Ivan! Looks very interesting. Want to see how this compares with and/or works with your MEF Buy/Sell zones indicator. Or is the difference just display in panel 1 vs lower panel.

Reply With Quote
  #5 (permalink)
 ivanjocic 
Abu Dhabi, UAE
 
Experience: Intermediate
Platform: NinjaTrader
Broker: IB
Trading: forex, DAX
Posts: 24 since May 2010
Thanks Given: 2
Thanks Received: 28

Jon,
can you tell me what kind of problems you have compiling it on NT6.5? Maybe I can help. I don't have 6.5 installed anywhere, but I can provide some advice.

Ivan

Started this thread Reply With Quote
  #6 (permalink)
 ivanjocic 
Abu Dhabi, UAE
 
Experience: Intermediate
Platform: NinjaTrader
Broker: IB
Trading: forex, DAX
Posts: 24 since May 2010
Thanks Given: 2
Thanks Received: 28

rfiske,
you're welcome. To be honest it wasn't intended to be used in synch with Buy/Sell zones. I've noticed, though, that when the main line (black) of this indicator is crossing over/below the 0 line usually we have change of color in buy/sell zones (or neutral or opposite).
Basically calculation methods very different, but one is confirming other most of the time.

I haven't had much time to investigate both of them. I was hoping a little help of the community.

Started this thread Reply With Quote
  #7 (permalink)
 rfiske 
temecula,ca
 
Experience: Advanced
Platform: NT
Broker: AMP/Zen
Trading: Euro
Posts: 46 since May 2010
Thanks Given: 33
Thanks Received: 8

thanks again for the info. i have them plotted on a 4 Kase ES chart. along with some other indicators. will let you know how i find them useful when i try them with my other stuff WITH Real $

Reply With Quote
  #8 (permalink)
 vegasfoster 
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
Posts: 1,145 since Feb 2010
Thanks Given: 304
Thanks Received: 844

Hi Ivan,

What's the blue line in pane 2 on the second and third pictures, I don't have it on mine. Thanks.

Reply With Quote
  #9 (permalink)
 ivanjocic 
Abu Dhabi, UAE
 
Experience: Intermediate
Platform: NinjaTrader
Broker: IB
Trading: forex, DAX
Posts: 24 since May 2010
Thanks Given: 2
Thanks Received: 28


vegasfoster View Post
Hi Ivan,

What's the blue line in pane 2 on the second and third pictures, I don't have it on mine. Thanks.

If you compile in debug mode (open any indicator, right-click and select "Debug Mode" then hit F5), two lines will be added (red and blue).
I draw the value of angle between 2 successive points of LinReg (blue for long and red for short period). You can note that when in the price panel LinReg is about to go down, in panel 2 we have blue line that crosses below 0. So this "angle representation" line is much faster than the original one.

Indicator is drawn by summing values of blue (long LinReg angle representation) and red (short LinReg angle representation).

I hope that I was clear enough, if not you just need to ask.

Thanks,
Ivan

Started this thread Reply With Quote
Thanked by:
  #10 (permalink)
 rfiske 
temecula,ca
 
Experience: Advanced
Platform: NT
Broker: AMP/Zen
Trading: Euro
Posts: 46 since May 2010
Thanks Given: 33
Thanks Received: 8


thanks. i didn't know you had to be in the debug mode to compile. so now i have the red & blue lines. as you can tell i have 0 coding knowledge!

I had great results (in /Sim) this am trading the ES on my 4 Kase chart and just using your default settings, i don't want to start making changes / tweaking just yet. i am using the MEF w/ OBV Driver, VHF, along w some other indicators that when taken together seem to keep me from taking the bad MEF signals and thus yielded good results.

have you thought of painting a vertical line on panel 1 chart when the R/b lines cross? Red vertical line red line crosses down through the blue line green or blue when red line crosses up through the blue line.

Reply With Quote




Last Updated on July 21, 2015


© 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