NexusFi: Find Your Edge


Home Menu

 





alarm or strategy in ninja for st indicator


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one redratsal with 22 posts (24 thanks)
    2. looks_two meyer99 with 16 posts (0 thanks)
    3. looks_3 ciardim with 6 posts (0 thanks)
    4. looks_4 Big Mike with 1 posts (1 thanks)
    1. trending_up 17,871 views
    2. thumb_up 25 thanks given
    3. group 6 followers
    1. forum 49 posts
    2. attach_file 8 attachments




 
Search this Thread

alarm or strategy in ninja for st indicator

  #11 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,214
Thanks Received: 101,599


ciardim View Post
thank you very very much, you are great person. also thnk to Luke for gie me this forum (excuse me for my poor english)
thank you redratsal

Don't forget the Thanks button:




Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
REcommedations for programming help
Sierra Chart
MC PL editor upgrade
MultiCharts
How to apply profiles
Traders Hideout
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
19 thanks
GFIs1 1 DAX trade per day journal
16 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
13 thanks
  #12 (permalink)
 meyer99 
Charlotte NC
 
Experience: Advanced
Platform: Charts:TOS, execution:TOS
Broker: TOS
Trading: SPX, RUT. TQQQ, Stocks, /YM
Posts: 234 since Jul 2009
Thanks Given: 99
Thanks Received: 122


redratsal View Post
Try also this one, I didn't have time to test it, should make a sound 2 ticks before the trend changes. Please report back.

Redratsal,
Would this work with the Better line break bars created by Gordo? If yes can you tell me how to add it to Gordo's script?
Thank you.


Reply With Quote
  #13 (permalink)
 
redratsal's Avatar
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
Posts: 1,648 since Oct 2010
Thanks Given: 1,215
Thanks Received: 2,090



meyer99 View Post
Redratsal,
Would this work with the Better line break bars created by Gordo? If yes can you tell me how to add it to Gordo's script?
Thank you.


Hi,

It should not work since the logic with BLB is different, you would like to add a sound when the bar color in BLB is changing right?

Visit my NexusFi Trade Journal Reply With Quote
  #14 (permalink)
 meyer99 
Charlotte NC
 
Experience: Advanced
Platform: Charts:TOS, execution:TOS
Broker: TOS
Trading: SPX, RUT. TQQQ, Stocks, /YM
Posts: 234 since Jul 2009
Thanks Given: 99
Thanks Received: 122

yes would like to have the alarm sound once the reversal bar finished printing.

Reply With Quote
  #15 (permalink)
 
redratsal's Avatar
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
Posts: 1,648 since Oct 2010
Thanks Given: 1,215
Thanks Received: 2,090


meyer99 View Post
yes would like to have the alarm sound once the reversal bar finished printing.

@meyer99

Find attached the strategy as requested, to avoid false signals I set the alarm to calculateonbarclose=true (but you can change it in the settings). The strategy will play 2 different sounds according to the change of trend. The strategy as you will notice is very simple and based on the close of the bar:

protected override void OnBarUpdate()
{
// Condition set 1
if (Close[1] < Close[0]
&& Close[2] > Close[1])
{
PlaySound(@"C:\Program Files (x86)\NinjaTrader 7\sounds\Alert2.wav");
}

// Condition set 2
if (Close[1] > Close[0]
&& Close[2] < Close[1])
{
PlaySound(@"C:\Program Files (x86)\NinjaTrader 7\sounds\Alert1.wav");
}
}



Al

Attached Files
Elite Membership required to download: BLBSounds.zip
Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #16 (permalink)
 meyer99 
Charlotte NC
 
Experience: Advanced
Platform: Charts:TOS, execution:TOS
Broker: TOS
Trading: SPX, RUT. TQQQ, Stocks, /YM
Posts: 234 since Jul 2009
Thanks Given: 99
Thanks Received: 122

I will try it. Thank you.

Reply With Quote
  #17 (permalink)
 meyer99 
Charlotte NC
 
Experience: Advanced
Platform: Charts:TOS, execution:TOS
Broker: TOS
Trading: SPX, RUT. TQQQ, Stocks, /YM
Posts: 234 since Jul 2009
Thanks Given: 99
Thanks Received: 122


redratsal View Post
@meyer99

Find attached the strategy as requested, to avoid false signals I set the alarm to calculateonbarclose=true (but you can change it in the settings). The strategy will play 2 different sounds according to the change of trend. The strategy as you will notice is very simple and based on the close of the bar:

protected override void OnBarUpdate()
{
// Condition set 1
if (Close[1] < Close[0]
&& Close[2] > Close[1])
{
PlaySound(@"C:\Program Files (x86)\NinjaTrader 7\sounds\Alert2.wav");
}

// Condition set 2
if (Close[1] > Close[0]
&& Close[2] < Close[1])
{
PlaySound(@"C:\Program Files (x86)\NinjaTrader 7\sounds\Alert1.wav");
}
}



Al

Red,
once I install will this show as another indicator? or I need to look somewhere else?

Reply With Quote
  #18 (permalink)
 
redratsal's Avatar
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
Posts: 1,648 since Oct 2010
Thanks Given: 1,215
Thanks Received: 2,090


meyer99 View Post
Red,
once I install will this show as another indicator? or I need to look somewhere else?

you will find it in your strategy folder, just enable it from the chart you are using and it will do the job. You can try it with connecting to market replay and Fast Forward it. I set sound alert1 and alert2 in your NT sounds folder, you can change them as you want.

Visit my NexusFi Trade Journal Reply With Quote
  #19 (permalink)
 meyer99 
Charlotte NC
 
Experience: Advanced
Platform: Charts:TOS, execution:TOS
Broker: TOS
Trading: SPX, RUT. TQQQ, Stocks, /YM
Posts: 234 since Jul 2009
Thanks Given: 99
Thanks Received: 122

Red,
I have a free version of NT (Mirus) which has Strategies disabled. So it cannot be accessed from the chart. Is there another way of loading the strategy or maybe convert it to an indicator script?
Thank you.

Reply With Quote
  #20 (permalink)
 
redratsal's Avatar
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
Posts: 1,648 since Oct 2010
Thanks Given: 1,215
Thanks Received: 2,090



meyer99 View Post
Red,
I have a free version of NT (Mirus) which has Strategies disabled. So it cannot be accessed from the chart. Is there another way of loading the strategy or maybe convert it to an indicator script?
Thank you.

Unfortunately not, BLB is a Bar type therefore the only way to access it (to my knowledge) is via a strategy.

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on November 12, 2011


© 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