NexusFi: Find Your Edge


Home Menu

 





Can you please make me a indicator for


Discussion in ThinkOrSwim

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




 
Search this Thread
  #1 (permalink)
 shirke 
California
 
Experience: None
Platform: thinkorswim
Trading: Emini ES
Posts: 18 since Apr 2018
Thanks Given: 5
Thanks Received: 2

Can you please make me a indicator for intra-day current bar open line indicator.
For instance if I go to 5min chart when current bar open need to draw the straight line on open bar.
Again when the next new bar start again draw the new open bar straight line and so on.


Thanks


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Iran Fired a Missile at Israel Last Night. The $8M June …
Prediction Markets & Event Contracts
Iran Deal "In Review" at 87% on Deadline Day - …
Prediction Markets & Event Contracts
Netherlands & Germany Surge as World Cup Field Narro …
Prediction Markets & Event Contracts
Beijing Summit Closes: Xi Pledges Hormuz Help -- $1.14B …
Prediction Markets & Event Contracts
Trump Truth Social Fires Hormuz From 10% to 59% -- Arsen …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
13 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
 
Massive l's Avatar
 Massive l 
OR/USA
Legendary /NQ Trader
 
Experience: None
Posts: 2,129 since Mar 2011
Thanks Given: 1,859
Thanks Received: 5,108

def agg = AggregationPeriod.FIVE_MIN;
plot data = open(period = agg);


Visit my NexusFi Trade Journal Reply With Quote
  #3 (permalink)
 
Massive l's Avatar
 Massive l 
OR/USA
Legendary /NQ Trader
 
Experience: None
Posts: 2,129 since Mar 2011
Thanks Given: 1,859
Thanks Received: 5,108



Massive l View Post
def agg = AggregationPeriod.FIVE_MIN;
plot data = open(period = agg);

thought that would do it but just tested it out and it's not right


Visit my NexusFi Trade Journal Reply With Quote
  #4 (permalink)
 
Massive l's Avatar
 Massive l 
OR/USA
Legendary /NQ Trader
 
Experience: None
Posts: 2,129 since Mar 2011
Thanks Given: 1,859
Thanks Received: 5,108

closest I can get...not an extended line but shows price bubble of the current bar's open on the right

input showOnlyLastPeriod = yes;
def agg = AggregationPeriod.FIVE_MIN;
def prevPrice = open(period = agg)[-1];
def price = open(period = agg);
plot DailyOpen = if showOnlyLastPeriod and !IsNaN(prevPrice) then Double.NaN else price;

DailyOpen.SetDefaultColor(GetColor(2));
DailyOpen.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);


Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #5 (permalink)
 shirke 
California
 
Experience: None
Platform: thinkorswim
Trading: Emini ES
Posts: 18 since Apr 2018
Thanks Given: 5
Thanks Received: 2


Massive l View Post
closest I can get...not an extended line but shows price bubble of the current bar's open on the right

input showOnlyLastPeriod = yes;
def agg = AggregationPeriod.FIVE_MIN;
def prevPrice = open(period = agg)[-1];
def price = open(period = agg);
plot DailyOpen = if showOnlyLastPeriod and !IsNaN(prevPrice) then Double.NaN else price;

DailyOpen.SetDefaultColor(GetColor(2));
DailyOpen.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);

Thanks for Help
But Line is to short.
Need long horizontal line with open price bubble on right side


Started this thread Reply With Quote




Last Updated on March 5, 2019


© 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