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,162 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 Lebanon Problem Kills Switzerland Talks, Brent at $ …
Prediction Markets & Event Contracts
No book, only a stair: journaling fills where price move …
Cryptocurrency
Netherlands & Germany Surge as World Cup Field Narro …
Prediction Markets & Event Contracts
Datafeed for Atas
Platforms and Indicators
Would a node-based workflow for automated trading be useful?
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
Afternoon-close session
1 thanks
Franks Trading Journey
1 thanks
Denied 20K payouts: Alpha Futures
1 thanks
FootPrintV2 Chart for NT8
1 thanks
  #2 (permalink)
 
sam028's Avatar
 sam028 
Site Administrator
 
Posts: 3,767 since Jun 2009
Thanks Given: 3,836
Thanks Received: 4,691


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 Administrator
 
Posts: 3,767 since Jun 2009
Thanks Given: 3,836
Thanks Received: 4,691


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