Closing Time Vertical Line

FreefallJM03

Active member
VIP
csrickdds,
On one of your AGAIG charts you had time markers on the chart for I think it was end of trading day in the UK. Do you have this in a stand alone script that can be modified for US for stocks and futures? And, a way to color code them?
 
Last edited by a moderator:
On one of your AGAIG charts you had time markers on the chart for I think it was end of trading day in the UK. Do you have this in a stand alone script that can be modified for US for stocks and futures? And, a way to color code them?
I just have it on my chart to let me know the European markets are closing - sometimes the U.S. market reacts in a way but not always (it's just a heads-up for me)?
 
I just have it on my chart to let me know the European markets are closing - sometimes the U.S. market reacts in a way but not always (it's just a heads-up for me)?
I just wanted one to show close for stocks and for futures so if I get a brain fart I don't accidentally hold into the close. Normally, I don't have to worry about this as I am in and out of a trade for a 3-5% gain anywhere from a few minutes to an hour. I am looking at modifications to trade in the afternoon since this has been a very successful strategy for me. I don't use the AGAIG but remember seeing the lines drawn on the chart in this thread or maybe another with AGAIG.
 
I just wanted one to show close for stocks and for futures so if I get a brain fart I don't accidentally hold into the close. Normally, I don't have to worry about this as I am in and out of a trade for a 3-5% gain anywhere from a few minutes to an hour. I am looking at modifications to trade in the afternoon since this has been a very successful strategy for me. I don't use the AGAIG but remember seeing the lines drawn on the chart in this thread or maybe another with AGAIG.
Are you located in Europe or U.S.? You can download one of my charts and copy any of the indicators you wish?
 
I'm in the US just outside of Fort Bragg, NC so I am on US eastern time.
Very good - this is the code for the European closing time:

#
input targetTime830 = 830;
def targetBar830 = SecondsFromTime(targetTime830) == 0;

input targetTime930 = 930;
def targetBar930 = SecondsFromTime(targetTime930) == 0;
AddVerticalLine(targetBar930, "MARKET OPEN", Color.White);

input targetTime1120 = 1120;
def targetBar1120 = SecondsFromTime(targetTime1120) == 0;
AddVerticalLine(targetBar1120, "UK MARKET CLOSING 10 MIN", Color.White);
 
Very good - this is the code for the European closing time:

#
input targetTime830 = 830;
def targetBar830 = SecondsFromTime(targetTime830) == 0;

input targetTime930 = 930;
def targetBar930 = SecondsFromTime(targetTime930) == 0;
AddVerticalLine(targetBar930, "MARKET OPEN", Color.White);

input targetTime1120 = 1120;
def targetBar1120 = SecondsFromTime(targetTime1120) == 0;
AddVerticalLine(targetBar1120, "UK MARKET CLOSING 10 MIN", Color.White);
Thanks, I think I figured out the time part of it. At first I kept ending up with UK time, but it looks like it lined up correctly now.
 
I thought you were looking for European closing time - are you looking for power hour heads up or U.S. closing time?
No, I just needed to modify it for specific times I need for opening a trade and ensuring I am out of a trade. I sometimes get sidetracked and don't notice how close I am to my closing time in the past so this is a heads up. This will hopefully help with that since I have noticed I can do modified trades that will likely be successful at a 90% or higher rate. I simplified my charts substantially back to how I used to trade before I started looking at stuff here and I'm back at a much greater success rate. I still like looking at the various indicators here. Now, I only have two moving averages, MACD, and a modified RSI and two other indicators. The charts are cleaner, but not as fancy with clouds, bubbles, and other bells and whistles. Thus far, it has worked on anything I've tried it on, but I haven't tried it on a lot of stocks. The MA give a great track for how the security is trending and they are never wrong. It can be difficult at times when they are running on top of each other parallel, but if you just look a bit closer you can discern which way it is about to break. You have two choices with the other indicator. It breaks above the one line you go long and if goes below the other you go short, but only if the MA's agree. There's a little bit of a fudge factor there though.
 

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
386 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top