NexusFi: Find Your Edge


Home Menu

 





Can you please make me a indicator for


Discussion in ThinkOrSwim

Updated
    1. trending_up 2,215 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?
June 15 Peace Odds Surge From 3.6% to 12.25% After Trump …
Prediction Markets & Event Contracts
UCL Final Kicks Off at Noon ET: PSG at 56.5% as Iran May …
Prediction Markets & Event Contracts
Strike Pause Holds, Oil Erases Monday Spike -- May CPI W …
Traders Hideout
Rubios Good News Within Hours and the 30-Day Math: Why H …
Prediction Markets & Event Contracts
Irans Dual Probability: Guns Quiet at 99.95% While Forma …
Prediction Markets & Event Contracts
 
  #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,109

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,109



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,109

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