NexusFi: Find Your Edge


Home Menu

 





Indicator that appear only on intraday timeframes


Discussion in ThinkOrSwim

Updated
      Top Posters
    1. looks_one Tasker_182 with 1 posts (0 thanks)
    2. looks_two ColoradoCliff with 1 posts (0 thanks)
    3. looks_3 kiwi with 1 posts (0 thanks)
    4. looks_4 TRSQ with 1 posts (0 thanks)
    1. trending_up 1,784 views
    2. thumb_up 0 thanks given
    3. group 4 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread

Indicator that appear only on intraday timeframes

  #1 (permalink)
TRSQ
Montpellier
 
Posts: 6 since Apr 2021
Thanks Given: 3
Thanks Received: 0

Hello i'm trying to make an indicator that appears only on intraday timeframe as 1min 2min 3min etc... I dont want it to appear in Daily chart.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
ZombieSqueeze
Platforms and Indicators
How to apply profiles
Traders Hideout
What broker to use for trading palladium futures
Commodities
REcommedations for programming help
Sierra Chart
 
  #2 (permalink)
 kiwi 
Gold Coast
 
Experience: Advanced
Platform: Sierra Chart
Trading: Futures and Forex
Posts: 49 since Aug 2010
Thanks Given: 23
Thanks Received: 96

If you can read the seconds or minutes per bar, don't plot the indicator when its >= 1 day.

Reply With Quote
  #3 (permalink)
ColoradoCliff
Parker CO/USA
 
Posts: 22 since Jun 2017
Thanks Given: 0
Thanks Received: 5


Use the built in GetAggregationPeriod function and only run the code if it's <= 1Day. Use something like

if GetAggregationPeriod() < AggregationPeriod.DAY .....



TRSQ View Post
Hello i'm trying to make an indicator that appears only on intraday timeframe as 1min 2min 3min etc... I dont want it to appear in Daily chart.


Reply With Quote
  #4 (permalink)
 
Tasker_182's Avatar
 Tasker_182 
Cedar Rapids, iowa
Legendary Market Wizard
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader - Continuum
Posts: 716 since Aug 2009
Thanks Given: 476
Thanks Received: 1,401

if (!Bars.BarsType.IsIntraday)
{
// do something, like return;
}

(If Bars are NOT intraday, do something)

Be yourself; everyone else is already taken. Oscar Wilde
Reply With Quote




Last Updated on November 20, 2022


© 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