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




 
Search this Thread
  #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?
Rubios Good News Within Hours and the 30-Day Math: Why H …
Prediction Markets & Event Contracts
Iran Deal "In Review" at 87% on Deadline Day - …
Prediction Markets & Event Contracts
The May 31 Binary: 60% Trump Declares Iran Ops Over, Onl …
Prediction Markets & Event Contracts
CFTC Rewrites the Rulebook -- Kalshi Cracks $1B Non-Spor …
Prediction Markets & Event Contracts
S&P 500 Holds the Line: No Fast Track for SpaceX, Op …
Stocks and ETFs
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
205 thanks
Sober Journey With S&P
21 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
Thanks Mike. Godspeed.
7 thanks
  #2 (permalink)
 kiwi 
Gold Coast
 
Experience: Advanced
Platform: Sierra Chart
Trading: Futures and Forex
Posts: 50 since Aug 2010
Thanks Given: 24
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,406

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


© 2026 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 - Downloads - Top
no new posts