NexusFi: Find Your Edge


Home Menu

 





Active GeoKing - Triple Auto Swing Indicator for NT8


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Marty087 with 19 posts (91 thanks)
    2. looks_two zt379 with 10 posts (11 thanks)
    3. looks_3 shortski with 8 posts (1 thanks)
    4. looks_4 Conceptzx with 7 posts (0 thanks)
      Best Posters
    1. looks_one Marty087 with 4.8 thanks per post
    2. looks_two trendisyourfriend with 3 thanks per post
    3. looks_3 zt379 with 1.1 thanks per post
    4. looks_4 Chof with 0.5 thanks per post
    1. trending_up 7,757 views
    2. thumb_up 113 thanks given
    3. group 28 followers
    1. forum 51 posts
    2. attach_file 18 attachments




 
Search this Thread

Active GeoKing - Triple Auto Swing Indicator for NT8

  #21 (permalink)
 zt379 
UK London
Legendary Market Wizard
 
Platform: NT
Posts: 2,083 since Sep 2009
Thanks Given: 1,590
Thanks Received: 2,002


Marty087 View Post
Yes, NexusFi is Glitching. The filename I uploaded is v1004, but downloads as v1002. The contents are consistent with V1004 though so the changes should be there, go figure.

I see what you mean by the tiles/butttons. Prob a massive job, Toggle on/off might be easier, I think I had it at one stage. Im out for the day anyway, thinking about that is for another day.

Happy trading.

Yes the download is the latest V1004 but not by that name lol.

Toggle Off/On would be great as is the tiles cover over the "x" on the price axis to cancel pending orders if needs be, but no worries, it's enough already what you've done, thank you. The suggestions are just that, suggestions, if and when or ever or at all.

Many thanks

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
About a successful futures trader who didnt know anythin …
Psychology and Money Management
MC PL editor upgrade
MultiCharts
REcommedations for programming help
Sierra Chart
ZombieSqueeze
Platforms and Indicators
 
  #22 (permalink)
 MrTrader 
ITAJAI SC/BRAZIL
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Clear Corretora
Trading: DOLFUT, WINFUT
Posts: 334 since Jun 2014
Thanks Given: 1,321
Thanks Received: 226


Marty087 View Post

I see what you mean by the tiles/butttons. Prob a massive job, Toggle on/off might be easier, I think I had it at one stage. Im out for the day anyway, thinking about that is for another day.

I second that, this would be a great feature
Maybe placing this On/Off button where PrlLbls is today, should do the job..

Thanks for sharing, great work.

Sent using the NexusFi mobile app

Reply With Quote
Thanked by:
  #23 (permalink)
 Marty087 
Sydney NSW Australia
 
Experience: Intermediate
Platform: Ninjatrader 7 / MT4
Broker: KINETICK
Trading: EUR/USD, AUS200(SPI)
Posts: 40 since May 2012
Thanks Given: 15
Thanks Received: 100



zt379 View Post
Yes I also noticed the blank space in settings for the original TrendlineColor.
I've checked as you suggested and I've not changed anything from the original except to the colour "Blue".

I have these (var) in OnStateChange although I see you've removed the original "TrendLineColor" in your latest V1004.
So these seem correct and should mean it's not blank in settings for "TrendLineColor"

Most welcome!

Thanks for the update. Yes, I had used the TrendLineColor somewhere else in the code which also had to be worked out when I removed it, forgot to mention that. It still doesn't make sense why the color was uninitiated in the indicator properties considering that the color was set in the OnStateChange. It should have worked the way you did it. Let's chalk it up in the "forever a mystery" category.

I didn't intend to do any more work on the Indi, but it's good to see folks getting some value out of it so I may do a little here and there.

Started this thread Reply With Quote
Thanked by:
  #24 (permalink)
 Marty087 
Sydney NSW Australia
 
Experience: Intermediate
Platform: Ninjatrader 7 / MT4
Broker: KINETICK
Trading: EUR/USD, AUS200(SPI)
Posts: 40 since May 2012
Thanks Given: 15
Thanks Received: 100


MrTrader View Post
I second that, this would be a great feature
Maybe placing this On/Off button where PrlLbls is today, should do the job..

Thanks for sharing, great work.

Sent using the NexusFi mobile app

Folks, as per @zt379 @MrTrader suggestions I have added toggle for the toolbar. This was previously in my NT7 version and always intended to add it at some stage so thanks for the impetus.

See the indicator download section for the updated version v1005.


Started this thread Reply With Quote
Thanked by:
  #25 (permalink)
 Chof 
Edmonton AB. / Canada
 
Experience: Intermediate
Platform: NT 8
Broker: Amp / CQG
Trading: NQ index
Frequency: Several times daily
Duration: Seconds
Posts: 47 since Apr 2017
Thanks Given: 29
Thanks Received: 50

Hi Marty,

I think you've nailed a number of VERY relevant/imperative factors to keep
track of before taking a position.. For me the most important part of the decision
is having a clear place to take the possible profit. That isn't this threads
subject.. but your indicator provides that information.

I don't know if any other users are running into this, but as I went about checking
resource usage for GeoKing I found a couple "NullReferenceException"(s) repeating:

Caught exception main GK NQ System.NullReferenceException: Object reference not set to an instance of an object.
at NinjaTrader.NinjaScript.Indicators.ActiveGeoKingV1005.CalcDailyLevels()
at NinjaTrader.NinjaScript.Indicators.ActiveGeoKingV1005.OnBarUpdate()

The WIERD part about it is that they're not showing up in the log ??
Are these due to something I'm not setting up properly perhaps ? I thought I'd
ask before I go messing with the code..

Thanks for your work, and your time answering.. My opinion is that GeoKing is on a very
short list of indicators that plots relevant S/R AND plots useful trendlines between
those values.. I find the fib values useful too..

best regards,

Chof

Reply With Quote
  #26 (permalink)
 Marty087 
Sydney NSW Australia
 
Experience: Intermediate
Platform: Ninjatrader 7 / MT4
Broker: KINETICK
Trading: EUR/USD, AUS200(SPI)
Posts: 40 since May 2012
Thanks Given: 15
Thanks Received: 100

Thanks for the kind words @Chof , the feedback is really appreciated! @zt379 mentioned the same exception coming up as well. I had never seen it before, although upon investigation I can see that it is the Bars.GetDailyBar() function not having an assigned value.

In reading the refence material at the below link, I can see that this function needs to be checked for initiation.

https://ninjatrader.com/support/helpGuides/nt8/NT%20HelpGuide%20English.html?getdaybar.htm

So, I imagine what is happening here is that you have a chart with less than 4 days loaded, which means that GK cant get the Daily bar 3 days ago to build the daily levels for the 3day balance.

I have upgraded the code on my side to avoid the exception and generate feedback to the output window, but I won't bother providing the updated version yet as the workaround is easy. Load a minimum of 5 days history into the chart if you are on Tick charts and you won't have an issue for now.

Regarding the logs, are you opening an output window to see GK's errors? When I loaded GK on NQ with only 2 days history, I saw the exceptions come up in the output window.

Please report back to confirm the additional days history fixes the issue for now, many thanks in advance.






Chof View Post
Hi Marty,

I think you've nailed a number of VERY relevant/imperative factors to keep
track of before taking a position.. For me the most important part of the decision
is having a clear place to take the possible profit. That isn't this threads
subject.. but your indicator provides that information.

Chof


Started this thread Reply With Quote
Thanked by:
  #27 (permalink)
 Marty087 
Sydney NSW Australia
 
Experience: Intermediate
Platform: Ninjatrader 7 / MT4
Broker: KINETICK
Trading: EUR/USD, AUS200(SPI)
Posts: 40 since May 2012
Thanks Given: 15
Thanks Received: 100

New version available

V1006
Changes:
-Avoid exceptions when less than 4 days history on chart
-127 and 161 Fib extensions were mislabeled (swapped) by name as the default settings.

Started this thread Reply With Quote
Thanked by:
  #28 (permalink)
 zt379 
UK London
Legendary Market Wizard
 
Platform: NT
Posts: 2,083 since Sep 2009
Thanks Given: 1,590
Thanks Received: 2,002


Marty087 View Post
New version available

V1006
Changes:
-Avoid exceptions when less than 4 days history on chart
-127 and 161 Fib extensions were mislabeled (swapped) by name as the default settings.

I set the Data Series to "Bars" rather than "Days" for all my charts (NT8 runs better from experience and other user comments)

Using latest V1006, if I set to "Days" then 3 days and greater I get this in Output Window:




Using less then 3 days (1 or 2 days) I get this:



Similarly if I use "Bars" rather than "Days" in Data Series I get the first image if greater than about 5000 bars on say a 200 tick chart and the second image if using less bars.

Hope this helps and thanks for the latest version.

Ps: I'm using NT v 8.1.1.7 if that's relevant

PPs: I've just seen @Chof post below.

Re: using resources it is very high. The 1,375,800 is a few hours usage of v1005 before downloading the latest V1006.

The benchmark is as close or below NT's "Chart Style". OHLC in this instance:


Reply With Quote
  #29 (permalink)
 Chof 
Edmonton AB. / Canada
 
Experience: Intermediate
Platform: NT 8
Broker: Amp / CQG
Trading: NQ index
Frequency: Several times daily
Duration: Seconds
Posts: 47 since Apr 2017
Thanks Given: 29
Thanks Received: 50

Yes that fixed my 'Output Panel' errors. I was hoping it was something I didn't
set up properly.. as it was 'freezing' my chart.. I'll quote myself :

"Are these due to something I'm not setting up properly perhaps ? I thought I'd
ask before I go messing with the code.."

To go back to why I went there in the first place, I'm finding that 'GeoKing' burns
a lot of Total time (ms) in the Utilization Monitor.. That's not surprising when
you look at everything it plots and calculates.. Are there any tips you can give
to reduce that number ? I'm afraid this will 'kill' my NT when the volumes crank up.

You know, Mike did a major change to his 'Footprint V2' that stopped any resource
usage by calcs that weren't being plotted/checked off.. I think he did it by changing
how he called for data by each calculation (but I'm not sure).. It was a radical
change to resource use.. I'll probably never run without V2 going forward now.. You
may want to have a look - just saying..

Anyway thanks for the tip and I'll check back for your ideas on reducing the (ms).

Chof

Reply With Quote
  #30 (permalink)
 Marty087 
Sydney NSW Australia
 
Experience: Intermediate
Platform: Ninjatrader 7 / MT4
Broker: KINETICK
Trading: EUR/USD, AUS200(SPI)
Posts: 40 since May 2012
Thanks Given: 15
Thanks Received: 100


Thanks @zt379

The "Found ES" is an old debugging message, its not an error. Ill have to remove that.

The other message is reporting that the daily levels couldn't be pulled. The dailycalcs function isn't written properly, it needs to be updated with a daily data series added, this will improve resource usage significantly aswell.

Updates will fix all this. In the meanwhile, you can search the Print("FoundES!!"); in the code and comment it out. And also just add more bars on the chart until the other message stops will clean up your output window until I update again.

Cheers!




zt379 View Post
I set the Data Series to "Bars" rather than "Days" for all my charts (NT8 runs better from experience and other user comments)


Started this thread Reply With Quote
Thanked by:




Last Updated on February 15, 2024


© 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