NexusFi: Find Your Edge


Home Menu

 





User defined lines with alerts


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 28 posts (38 thanks)
    2. looks_two madLyfe with 24 posts (2 thanks)
    3. looks_3 Big Mike with 5 posts (8 thanks)
    4. looks_4 tst1 with 2 posts (0 thanks)
      Best Posters
    1. looks_one Silvester17 with 5 thanks per post
    2. looks_two trendisyourfriend with 3 thanks per post
    3. looks_3 Big Mike with 1.6 thanks per post
    4. looks_4 Fat Tails with 1.4 thanks per post
    1. trending_up 24,794 views
    2. thumb_up 56 thanks given
    3. group 15 followers
    1. forum 72 posts
    2. attach_file 17 attachments




 
Search this Thread

User defined lines with alerts

  #41 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


madLyfe View Post
can you explain what you mean by allowing for more precise triggering of the alert? i just like hearing about development. ;-)

i am going to use it for what i intentionally downloaded it for, it was just this situation with the paceoftape indicator that was hanging me up..

anyways, thanks again for your help and all of your coding!

The original concept was a zone for price. Alert triggered when alert - (n+1) Ticks < price < alert + (n+1) Ticks, where n is the offset to be entered in ticks. This concept has two shortcomings.

(1) When price moves fast and no trade is printed at the alert level, no sound alert is triggered, although price croessed the alert level. So it is not enough to check whether price has printed inside the defined range or - in case that the offset is 0 - at the alert level. In parallel it needs to be checked, whether price has crossed the level. This event will also trigger an alert now.

(2) The concept with the ticks, requires discrete prices, which is the case for all instruments. Indicator values however are more of a continuous nature - actually they are also discrete, but the discrete levels are unknown -, and therefore the inegality above cannot be used in the same way. So I changed the above inegality to alert - n * units <= price <= alert + n * units. If you set the offset to 0, the indicator will only trigger an alert, if the indicator exactly hits the alert level. As the indicator values are discrete, this is unlikely to happen, even if the indicator value has crossed the alert level. But with the modification introduced under (1), the crossing of the line will trigger an alert on its own, so this is no problem.

Hope, I managed to confuse you and all other readers of this post.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Better Renko Gaps
The Elite Circle
How to apply profiles
Traders Hideout
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
33 thanks
Tao te Trade: way of the WLD
24 thanks
My NQ Trading Journal
14 thanks
HumbleTraders next chapter
11 thanks
GFIs1 1 DAX trade per day journal
11 thanks
  #42 (permalink)
 
madLyfe's Avatar
 madLyfe 
Des Moines, Iowa
 
Experience: None
Platform: Ninja, TOS
Broker: AMP/CQG, TOS
Trading: CL, TF, GC
Posts: 1,641 since Feb 2011
Thanks Given: 9,220
Thanks Received: 1,020


Fat Tails View Post
The original concept was a zone for price. Alert triggered when alert - (n+1) Ticks < price < alert + (n+1) Ticks, where n is the offset to be entered in ticks. This concept has two shortcomings.

(1) When price moves fast and no trade is printed at the alert level, no sound alert is triggered, although price croessed the alert level. So it is not enough to check whether price has printed inside the defined range or - in case that the offset is 0 - at the alert level. In parallel it needs to be checked, whether price has crossed the level. This event will also trigger an alert now.

(2) The concept with the ticks, requires discrete prices, which is the case for all instruments. Indicator values however are more of a continuous nature - actually they are also discrete, but the discrete levels are unknown -, and therefore the inegality above cannot be used in the same way. So I changed the above inegality to alert - n * units <= price <= alert + n * units. If you set the offset to 0, the indicator will only trigger an alert, if the indicator exactly hits the alert level. As the indicator values are discrete, this is unlikely to happen, even if the indicator value has crossed the alert level. But with the modification introduced under (1), the crossing of the line will trigger an alert on its own, so this is no problem.

Hope, I managed to confuse you and all other readers of this post.

haha i get the idea of what your saying. looks like some nice improvements. see ya on the boards!

Visit my NexusFi Trade Journal Reply With Quote
  #43 (permalink)
 
madLyfe's Avatar
 madLyfe 
Des Moines, Iowa
 
Experience: None
Platform: Ninja, TOS
Broker: AMP/CQG, TOS
Trading: CL, TF, GC
Posts: 1,641 since Feb 2011
Thanks Given: 9,220
Thanks Received: 1,020


on the note of crossing above from below, and below from above a user defined line as an option, i went ahead and made some sounds just incase..

Zoom Up!:
https://192.20.225.36/tts/speech/e6c82b286d78445402b787400095f60b.wav

Zoom Down!:
https://192.20.225.36/tts/speech/c6e2d3e3b423bb1adeea40ea746e2367.wav

Speed Up!:
https://192.20.225.36/tts/speech/7d8febf7764315bbf998ab63593b3e0f.wav

Speed Down!:
https://192.20.225.36/tts/speech/e08f2bf38ac3a900017e288cd8de405c.wav



i guess those links are only good for 5mins.. fail..

Visit my NexusFi Trade Journal Reply With Quote
  #44 (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,212
Thanks Received: 101,599

Next time just zip them, and attach them to the post.

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
  #45 (permalink)
 
madLyfe's Avatar
 madLyfe 
Des Moines, Iowa
 
Experience: None
Platform: Ninja, TOS
Broker: AMP/CQG, TOS
Trading: CL, TF, GC
Posts: 1,641 since Feb 2011
Thanks Given: 9,220
Thanks Received: 1,020

fatty have you given my idea any thought? what new stuffs you been working on? whats up dood!?!?

Visit my NexusFi Trade Journal Reply With Quote
  #46 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


madLyfe View Post
fatty have you given my idea any thought? what new stuffs you been working on? whats up dood!?!?

I am still waiting for feedback, had made some other changes.

Reply With Quote
  #47 (permalink)
 
madLyfe's Avatar
 madLyfe 
Des Moines, Iowa
 
Experience: None
Platform: Ninja, TOS
Broker: AMP/CQG, TOS
Trading: CL, TF, GC
Posts: 1,641 since Feb 2011
Thanks Given: 9,220
Thanks Received: 1,020


Fat Tails View Post
I am still waiting for feedback, had made some other changes.

ah ok, everything on the alerts on indicator side of the road is working really awesome for me. lmk if there is anything you need looked at.


Visit my NexusFi Trade Journal Reply With Quote
  #48 (permalink)
 
Trafford's Avatar
 Trafford 
London, England
 
Experience: Intermediate
Platform: Ninja
Broker: Mirus Futures/Zen-Fire
Trading: EUR
Posts: 337 since Sep 2010
Thanks Given: 378
Thanks Received: 229


Fat Tails View Post
I am still waiting for feedback, had made some other changes.

@Fattails,

All working fine so far FT

Reply With Quote
  #49 (permalink)
 Abde 
Stuttgart / Germany
 
Experience: Intermediate
Platform: FlatTrader
Broker: GFT and Interactive Brokers
Trading: ES, DAX
Frequency: Every few days
Duration: Days
Posts: 533 since Aug 2010
Thanks Given: 2,141
Thanks Received: 729

Hi Fat Tails,

Just want to give feedback that they both work perfect. Great job as always. Many thanks.

Reply With Quote
  #50 (permalink)
 
madLyfe's Avatar
 madLyfe 
Des Moines, Iowa
 
Experience: None
Platform: Ninja, TOS
Broker: AMP/CQG, TOS
Trading: CL, TF, GC
Posts: 1,641 since Feb 2011
Thanks Given: 9,220
Thanks Received: 1,020


actually an issue ive noticed, if i dont want to plot the label on the alertsonindicator that sounds dont fire off, once i put the label back on it works fine..

Visit my NexusFi Trade Journal Reply With Quote




Last Updated on February 12, 2015


© 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