NexusFi: Find Your Edge


Home Menu

 





Alert For One Tick


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Abusamjad91 with 6 posts (1 thanks)
    2. looks_two 00cedge with 3 posts (3 thanks)
    3. looks_3 tradevcode with 1 posts (0 thanks)
    4. looks_4 trendisyourfriend with 1 posts (0 thanks)
    1. trending_up 1,910 views
    2. thumb_up 4 thanks given
    3. group 4 followers
    1. forum 8 posts
    2. attach_file 2 attachments




 
Search this Thread

Alert For One Tick

  #1 (permalink)
 Abusamjad91 
San Francisco California
 
Experience: None
Platform: NinjaTrader
Trading: futures
Posts: 70 since Oct 2020
Thanks Given: 56
Thanks Received: 59

Hello everyone,

Help with the construction of a simple indicator. I tried but had no luck. This indicator will alert if the new candle forming passes one tick above/below the previous candle's open price(I think)? I might be off on the wordings but I attached a photo of what it will accomplish. I would appreciate anyone's contribution. The alert system should be a sound and a triangle up/down for visuals. I believe this can be a handy indicator. Note this will be tick based and the print will remain regardless if the candle retracts.
To summarize, if the current candle crosses one tick above/below the previous closed candle, an alert should be issued.

Thank you
Abdus

Attached Thumbnails
Click image for larger version

Name:	Screenshot (153).png
Views:	92
Size:	20.9 KB
ID:	318883  
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
Cheap historycal L1 data for stocks
Stocks and ETFs
What broker to use for trading palladium futures
Commodities
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Funded Trader platforms
51 thanks
Just another trading journal: PA, Wyckoff & Trends
20 thanks
Self sabotage reframed
15 thanks
Trading with Intuition
14 thanks
GFIs1 1 DAX trade per day journal
9 thanks
  #2 (permalink)
 tr8er 
Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: TradeNavigator, BookMap
Trading: ES, CL, 6E, 6B
Posts: 704 since Jan 2017
Thanks Given: 220
Thanks Received: 709

Sorry, I cannot help with programming, but if I watch the picture, the alert should happen 1 tick below the highest bar (uptrend) and 1 tick above the lowest bar (downtrend)

Reply With Quote
  #3 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,178
Thanks Received: 6,022


Price needs to close to trigger an alert otherwise their would be too many false alerts.

Reply With Quote
  #4 (permalink)
 Abusamjad91 
San Francisco California
 
Experience: None
Platform: NinjaTrader
Trading: futures
Posts: 70 since Oct 2020
Thanks Given: 56
Thanks Received: 59

@trendisyourfriend I totally agree that this would set off too many false alerts. What if it was structured to alert only once if conditions were met and then not to alert twice on same candle or to re-arm after some seconds to reduce the frequency of alerts?

Started this thread Reply With Quote
Thanked by:
  #5 (permalink)
 Abusamjad91 
San Francisco California
 
Experience: None
Platform: NinjaTrader
Trading: futures
Posts: 70 since Oct 2020
Thanks Given: 56
Thanks Received: 59

@tr8er Thank you for your insight. For this kind of bar what you say to true.

Started this thread Reply With Quote
  #6 (permalink)
 Abusamjad91 
San Francisco California
 
Experience: None
Platform: NinjaTrader
Trading: futures
Posts: 70 since Oct 2020
Thanks Given: 56
Thanks Received: 59

I'm pretty sure this is possible the closet I have gotten to this is with a paid indicator. It does the following but after having a lot of settings changed to it I was able to match it up with at least one unirenko bars but it is just a hassle to get it to alert properly on every unirenko setting. I'm still in the testing stages. That is the reason I posted here to have an indicator made that could do this and would work on every unirenko bar without really having to change the settings. It doesn't have to be limited to unirenko bars but just have that alert system.

Started this thread Reply With Quote
  #7 (permalink)
 Abusamjad91 
San Francisco California
 
Experience: None
Platform: NinjaTrader
Trading: futures
Posts: 70 since Oct 2020
Thanks Given: 56
Thanks Received: 59

@00cedge

Thank you so much. I'll be trying it out.

Started this thread Reply With Quote
  #8 (permalink)
 Abusamjad91 
San Francisco California
 
Experience: None
Platform: NinjaTrader
Trading: futures
Posts: 70 since Oct 2020
Thanks Given: 56
Thanks Received: 59

@00cedge

It works great! The arrows are printing really far because I trade the 6E. I'd like it even more if you wouldn't mind having the arrows offset in the o.1-5 range. Thank you once again.

Started this thread Reply With Quote
  #9 (permalink)
 00cedge 
South Africa
 
Experience: Advanced
Platform: NinjaTrader
Broker: NT Brokerage
Trading: ES
Posts: 22 since May 2015
Thanks Given: 20
Thanks Received: 56

CandleRangeTrigger.cs

Sorry here's the source version. Add to a folder: "Documents\NinjaTrader 8\bin\Custom\Indicators\Cedge"

Reply With Quote
Thanked by:




Last Updated on November 18, 2021


© 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