Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

Jumbo123

Half Gap Fill Indicator for TS

Recommended Posts

Hello everyone,

 

I have a small favor to ask for those of you who are very good at easy language. I do not have any programming experience and would like to see if any of you programmers may assist me.

 

I like to see if you can code a half gap fill indicator that displays a horizontal line with text of HG or Half Gap Fill based on yesterday's 4:15 close and today's 9:30 open. Please advise. Thank you very much in advance.

 

With warm regards,

 

J

Share this post


Link to post
Share on other sites
Hello everyone,

 

I have a small favor to ask for those of you who are very good at easy language. I do not have any programming experience and would like to see if any of you programmers may assist me.

 

I like to see if you can code a half gap fill indicator that displays a horizontal line with text of HG or Half Gap Fill based on yesterday's 4:15 close and today's 9:30 open. Please advise. Thank you very much in advance.

 

With warm regards,

 

J

 

 

it would help if you can draw a picture to illustrate your thoughts.

Share this post


Link to post
Share on other sites

Ok Tams,

 

Please see the attachment. ES closed at 63.25 last Friday. It opened at 67 this morning. That means half gap fill is at 65.125. I rounded it up to 65.25. As soon as the market opens, a horizontal line should be drawn based on yesterday's close and today's open to show where the half gap fill is. Today is a perfect example that the market went down to fill the half gap and started to rally. Please advise. Thank you.

5aa70ff1ac8c8_HalfGap.thumb.jpg.e91f6acfcdee4a330db11d09c7db2f6c.jpg

Share this post


Link to post
Share on other sites

give this a try....

 

I have included 3 plots, (for prev close, today's open, and the half gap point)

you can set them as a cross or a point,

or simply use // to blank them out if you don't want to see them.

 

 

Enjoy !

 

 

p.s. I have written this code on MultiCharts. I have not tested it on TradeStation or other EasyLanguage compatible programs.

 

.

Half Gap.txt

Edited by Tams

Share this post


Link to post
Share on other sites
Thank you Tams.

 

So this red line will change in a daily basis, right?

 

Thanks again!

 

 

the red line will change as soon as a new day begins and the openning tick is published.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.