NexusFi: Find Your Edge


Home Menu

 





SPY open price line and a whole dollar line


Discussion in ThinkOrSwim

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




 
Search this Thread

SPY open price line and a whole dollar line

  #1 (permalink)
Papapaa
New Milford, NJ
 
Posts: 2 since Dec 2022
Thanks Given: 0
Thanks Received: 0

Hi,

Is there a script to plot a line from 9:30 AM open price and a whole dollar from the open price on Thinkorswim?
Thanks.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Exit Strategy
NinjaTrader
How to apply profiles
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Increase in trading performance by 75%
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
33 thanks
Tao te Trade: way of the WLD
24 thanks
My NQ Trading Journal
14 thanks
HumbleTraders next chapter
11 thanks
GFIs1 1 DAX trade per day journal
11 thanks
  #2 (permalink)
ColoradoCliff
Parker CO/USA
 
Posts: 22 since Jun 2017
Thanks Given: 0
Thanks Received: 5

Here's an extremely basic script that can accomplish what you want. It should work on any intra-day timeframe. You will want to adjust the color and the PaintingStrategy to match your preferences. Note that if you use an intra-day timeframe > 30 mins that the Open price may not match the open price of your first bar. That's expected since your first bar won't start at the same time as the actual open time.

------------------------
input offset = 1.0;
def aggPeriod = AggregationPeriod.DAY;
def openPrice = open(period = aggPeriod);

plot Data = openPrice;
Data.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
#Data.SetStyle(Curve.LONG_DASH);
Data.AssignValueColor(Color.LIGHT_RED);

plot Data2 = openPrice + offset;
Data2.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
#Data2.SetStyle(Curve.LONG_DASH);
Data2.AssignValueColor(Color.LIGHT_GREEN);
-----------------------------


Papapaa View Post
Hi,

Is there a script to plot a line from 9:30 AM open price and a whole dollar from the open price on Thinkorswim?
Thanks.


Reply With Quote
  #3 (permalink)
Papapaa
New Milford, NJ
 
Posts: 2 since Dec 2022
Thanks Given: 0
Thanks Received: 0


Thank you.

Reply With Quote




Last Updated on December 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