NexusFi: Find Your Edge


Home Menu

 





Alert when market moves X amount of ticks in X amount of time


Discussion in NinjaTrader

Updated
    1. trending_up 1,956 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 SuperSaan 
Amsterdam, The Netherlands
 
Experience: Intermediate
Platform: Ninjatrader
Broker: IB
Trading: EUR/USD
Posts: 20 since Oct 2011
Thanks Given: 17
Thanks Received: 23

Hi guys,

Does somebody know if there is a Ninjatrader indicator or strategy available that gives an alert when an instrument moves an X amount of ticks in an X amount of time?

Many thanks,

Sandor


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Iran Airspace Contract Surges to 33.5% as Project Freedo …
Prediction Markets & Event Contracts
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
Kharg Island at 6%, Regime Fall at 1.5% -- The Black Swa …
Prediction Markets & Event Contracts
US Prop Firms Race Inside the CFTC Perimeter -- Tradeify …
Funded Trading Evaluation Firms
Irans Dual Probability: Guns Quiet at 99.95% While Forma …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
2026 Fire Horse
5 thanks
  #2 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,756 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,632


SuperSaan View Post
Hi guys,

Does somebody know if there is a Ninjatrader indicator or strategy available that gives an alert when an instrument moves an X amount of ticks in an X amount of time?

Many thanks,

Sandor

What kind of alert: a sound, a popup window, ... ?


Success requires no deodorant! (Sun Tzu)
Follow me on X Reply With Quote
  #3 (permalink)
 SuperSaan 
Amsterdam, The Netherlands
 
Experience: Intermediate
Platform: Ninjatrader
Broker: IB
Trading: EUR/USD
Posts: 20 since Oct 2011
Thanks Given: 17
Thanks Received: 23



sam028 View Post
What kind of alert: a sound, a popup window, ... ?

A sound would be best but if there is something available with a popup window, I would be very happy too.

Thanks a lot!


Started this thread Reply With Quote
  #4 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,756 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,632


SuperSaan View Post
A sound would be best but if there is something available with a popup window, I would be very happy too.

Thanks a lot!

Here is a skeleton then:
 
Code
                            
...
private 
int window 10
private 
int moveLength 5;
...
protected 
override void OnBarUpdate() {
   if ( (
CurrentBar window) && (!Historical)) {
      if (
Range()[window] > moveLength)
        
PlaySound(Cbi.Core.InstallDir.ToString()+"\\sounds\\Beep.wav");
      }
   }


Success requires no deodorant! (Sun Tzu)
Follow me on X Reply With Quote
Thanked by:
  #5 (permalink)
 IMPERTIA 
torrance, ca
 
Experience: Master
Platform: thinkorswim
Trading: es
Posts: 5 since May 2014
Thanks Given: 0
Thanks Received: 0


sam028 View Post
Here is a skeleton then:
 
Code
                            
...
private 
int window 10
private 
int moveLength 5;
...
protected 
override void OnBarUpdate() {
   if ( (
CurrentBar window) && (!Historical)) {
      if (
Range()[window] > moveLength)
        
PlaySound(Cbi.Core.InstallDir.ToString()+"\\sounds\\Beep.wav");
      }
   }


Can you elaborate on your skeleton code?

Input tick size
Current Bar is X tick size
then draw vertical or highlight paint bar and alert with window
This is for either Up or Down tick size
Not based on time, just tick size


Follow me on X Reply With Quote




Last Updated on January 6, 2018


© 2026 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 - Downloads - Top
no new posts