NexusFi: Find Your Edge


Home Menu

 





Consolidation alert a la tzachi


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one zeller4 with 13 posts (13 thanks)
    2. looks_two tzachi with 6 posts (0 thanks)
    3. looks_3 Todd with 4 posts (0 thanks)
    4. looks_4 Saroj with 3 posts (0 thanks)
    1. trending_up 15,314 views
    2. thumb_up 13 thanks given
    3. group 7 followers
    1. forum 35 posts
    2. attach_file 6 attachments




 
Search this Thread

Consolidation alert a la tzachi

  #1 (permalink)
 
Saroj's Avatar
 Saroj 
Arcata, CA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: index futures, oil
Posts: 485 since Jun 2009
Thanks Given: 232
Thanks Received: 415

  • Description: “DoubleMAPaint based on sharky’s pkg modified to include tzachi’s alert when the first consolidation dot is painted”
  • Gui.Design.DisplayName (“DoubleMA Paint (tzachi)”
  • public class DoubleMAPaint_tzachi : Indicator
  • 2 new variables for : Indicator Property UI
    • Consolidation alert [True/False]
    • Consolidation Sound [file name] – the user has to copy this .wav file into the NT \Sounds folder
  • Logic:
If FIRST NeutralPlot, then if Consolidation alert is True, draw white Diamond at Arrow Displacement above and below the bar, play Consolidation Sound

Looking at the code, it appears as though NT only allows a single "soundon" toggle... if that's true then looks like we are still good because the DMA Paint line turn sound only works when arrows turned on as well... not sure how that affects the UI Consolidation alert entry fields... more confusing, but it could work to use the already existing "Sound" entry and the "long" wave file... I need someone to comment on this since I don't know NT Script / C# nuances

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
REcommedations for programming help
Sierra Chart
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
MC PL editor upgrade
MultiCharts
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Tao te Trade: way of the WLD
24 thanks
Just another trading journal: PA, Wyckoff & Trends
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #2 (permalink)
 zeller4 
Orlando Florida
 
Experience: Intermediate
Platform: NT8
Trading: CL, NQ, ES, RTY
Posts: 477 since Jun 2009
Thanks Given: 1,416
Thanks Received: 404

checkout this screenshot, then, let's chat, then, i'll post code with new name

added _White_Dot_Alerts_v01
things to check - alignment of these dots to versions of DoubleMAPaint_SharkyPkg
operation of sound alerts with the correct .wav filenames

please post anything else that needs addressed

Kirk (zeller4)

Attached Thumbnails
Click image for larger version

Name:	CL 08-09  7_9_2009 (4 Range).jpg
Views:	509
Size:	73.9 KB
ID:	642  
Reply With Quote
Thanked by:
  #3 (permalink)
 zeller4 
Orlando Florida
 
Experience: Intermediate
Platform: NT8
Trading: CL, NQ, ES, RTY
Posts: 477 since Jun 2009
Thanks Given: 1,416
Thanks Received: 404


here's 3 screenshots
for testing / comparison
last is original doublemapaint_sharkypkg

PLEASE NOTE THAT 3RD SCREENSHOT IS SHOWING A ONE-DOT PLOTTING DIFFERENCE!
WE'RE TRYING TO FIX NOW!

Attached Thumbnails
Click image for larger version

Name:	CL 08-09  7_9_2009 (4 Range).jpg
Views:	300
Size:	73.9 KB
ID:	648   Click image for larger version

Name:	CL 08-09  7_9_2009 (4 Range)-a.jpg
Views:	324
Size:	70.3 KB
ID:	649   Click image for larger version

Name:	CL 08-09  7_9_2009 (4 Range)-b-rev.jpg
Views:	347
Size:	42.6 KB
ID:	651  
Reply With Quote
Thanked by:
  #4 (permalink)
 zeller4 
Orlando Florida
 
Experience: Intermediate
Platform: NT8
Trading: CL, NQ, ES, RTY
Posts: 477 since Jun 2009
Thanks Given: 1,416
Thanks Received: 404


Saroj View Post

...
Looking at the code, it appears as though NT only allows a single "soundon" toggle... if that's true then looks like we are still good because the DMA Paint line turn sound only works when arrows turned on as well... not sure how that affects the UI Consolidation alert entry fields... more confusing, but it could work to use the already existing "Sound" entry and the "long" wave file... I need someone to comment on this since I don't know NT Script / C# nuances

you could have it set as many soundon commands as you want unique names - also could paint or not paint independently of sounds

Reply With Quote
  #5 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629


zeller4 View Post
you could have it set as many soundon commands as you want unique names - also could paint or not paint independently of sounds

Maybe add some specific sounds for these signals, not the "basic" long/short .wav, but something like "diamond found, consider Long" ?
Remember this cool ATT link...

Follow me on Twitter Reply With Quote
  #6 (permalink)
 tzachi 
New York
 
Posts: 38 since Jun 2009

Or the train wave, since train is ready to leave soon....

Reply With Quote
  #7 (permalink)
 
Gary's Avatar
 Gary 
Near Dallas, Texas, US
 
Experience: Advanced
Platform: NinjaTrader
Broker: ZenFire
Trading: CL
Posts: 1,072 since Jun 2009
Thanks Given: 502
Thanks Received: 2,239

Interesting, should also add opinion on how to detect whether trend will reverse from where it was before consolidation or continue the trend.

Visit my NexusFi Trade Journal Reply With Quote
  #8 (permalink)
 zeller4 
Orlando Florida
 
Experience: Intermediate
Platform: NT8
Trading: CL, NQ, ES, RTY
Posts: 477 since Jun 2009
Thanks Given: 1,416
Thanks Received: 404

back to the drawing board,
not working yet compared to the
DoubleMA Paint - Sharky Package v1.0
still trying to fix...
Kirk


:sos:





Reply With Quote
  #9 (permalink)
 tzachi 
New York
 
Posts: 38 since Jun 2009

I am back if you need help

Reply With Quote
  #10 (permalink)
 tzachi 
New York
 
Posts: 38 since Jun 2009



Gary View Post
Interesting, should also add opinion on how to detect whether trend will reverse from where it was before consolidation or continue the trend.


Gary, I will try to write something over the weekend.

Reply With Quote




Last Updated on August 21, 2009


© 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