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 2,083 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?
$4.5M Floods Russia Nuclear Contract in 24 Hours -- Krem …
Prediction Markets & Event Contracts
April FOMC Minutes: Most Divided Fed Since 1992 -- Many …
Traders Hideout
The 50/50 Paradox: Peace and Invasion Each at 20% -- Ira …
Prediction Markets & Event Contracts
Trump Media to sell instant access to market-moving soci …
Traders Hideout
Second Night of US Strikes Crushes Iran June 15 to 3.6% …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
3 thanks
  #2 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,759 since Jun 2009
Thanks Given: 3,828
Thanks Received: 4,644


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)
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,759 since Jun 2009
Thanks Given: 3,828
Thanks Received: 4,644


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)
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