NexusFi: Find Your Edge


Home Menu

 





Color Bar Based On Alert Condition TICK CODE


Discussion in Sierra Chart

Updated
    1. trending_up 1,377 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread

Color Bar Based On Alert Condition TICK CODE

  #1 (permalink)
jgault10
layton
 
Posts: 2 since Jan 2018
Thanks Given: 0
Thanks Received: 1

I have an Alert Condition that includes the following condition: H-L > 10 (where 10 = ticks)

The problem is that the tick size is different for each product. I want to apply my Alert Condition to multiply products (and Scan Multiple Products).

Right now, I have to create a new instance of the Alert Condition for each product in order to manually change the ticks.

EXAMPLES:

NQ H-L>2.50 where .25=1 tick
RTY H-L>1 where .1 = 1 tick

How do I write the Alert Condition so that it understands ticks instead of price?

I want H-L> "x" number of ticks, not price. That way I can apply the same Alert Condition to multiple products (or Scan Multiple Products.

Thanks.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Cheap historycal L1 data for stocks
Stocks and ETFs
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
 
  #2 (permalink)
jgault10
layton
 
Posts: 2 since Jan 2018
Thanks Given: 0
Thanks Received: 1

I think I just found the answer in Sierra Chart Documentation under Alert Formula Examples:

33. Alert when Chart Bar is Within Specified Ticks of Touching Bollinger Bands: Enter the following Alert Condition Formula on a Bollinger Bands study: =OR(H >= SG1 - (4 * TICKSIZE), L <= SG3 + (4 * TICKSIZE)). In this particular case the specified number of ticks is 4 and can be modified as required.

Reply With Quote
Thanked by:




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