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,276 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread

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

  #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?
Cheap historycal L1 data for stocks
Stocks and ETFs
Trade idea based off three indicators.
Traders Hideout
Could it be that currency futures are way easier to trade?
Currencies
MC PL editor upgrade
MultiCharts
How to apply profiles
Traders Hideout
 
  #2 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629


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 Twitter 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,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629


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 Twitter 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 Twitter Reply With Quote




Last Updated on January 6, 2018


© 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