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.

Mickey Caine

Gravestone Doji

Recommended Posts

var:

gravestone(false);

gravestone = (open = low) and (open = close) and (High > last 5 bars ago ) [1] ;

If Gravestone = True

then begin

Plot1 ( Close, "Gravestone" ) ;

SetPlotColor (Red) ;

Alert ( "Gravestone" ) ;

end ;

 

 

It now verifys upto 5. Does not like it. Would I need to put in some sort of Inputs field re the no of bars back??

 

 

 

Setplotcolor sytax is incorrect.

That's why I know you have not looked up the dictionary. ;-)

 

Setplotcolor is not a necessity at this stage, but since you were looking up the dictionary, I thought I would throw that in as well. It will come in handy when you have to distinguish gravestone up from gravestone down.

Share this post


Link to post
Share on other sites

var:

gravestone(false);

gravestone = (open = low) and (open = close) and (High > last );

If Gravestone = True

then begin

Plot1 (Close, "Gravestone" ) ;

SetPlotColor (Red ,1);

Alert ( "Gravestone" ) ;

end ;

 

 

Well this Verified. however did not work. got this error message:crap:

 

This analysis technique attempted to change the plot information for a a plot which does not exist.

Share this post


Link to post
Share on other sites

I have highlighted the errors

 

 

var:

gravestone(false);

gravestone = (open = low) and (open = close) and (High > last );

If Gravestone = True

then begin

Plot1 (Close, "Gravestone" ) ;

SetPlotColor (Red ,1);

Alert ( "Gravestone" ) ;

end ;

Share this post


Link to post
Share on other sites

Well, Praise the Lord and all the Saints and you too Tams. The darn thing only works!!!!!!!!!!!!!!!!:)

 

Shame we did not get that nice little down arrow. Still very pleased here. Had a feeling this post was going to be as long and boring as all the arguements re VSA.

 

Thanks again.

 

 

Will probably write an indicator for dragon fly Doji's next. will only take me a couple of mins.:rofl:

Share this post


Link to post
Share on other sites

Good to hear it is working.

 

Your wife might divorce you because you will be spending too much time creating new filters.

 

:-)

 

you can experiment with these variations:

 

 

Plot1 (High + Range, "Gravestone" ) ;

 

or

 

Plot1 (Low - Range, "Gravestone" ) ;

 

 

 

enjoy !

 

 

 

 

p.s. more Candles here:

http://www.traderslaboratory.com/forums/f46/candle-pattern-5736.html

Share this post


Link to post
Share on other sites
Well, Praise the Lord and all the Saints and you too Tams. The darn thing only works!!!!!!!!!!!!!!!!:)

...

 

 

For the benefit all... you should post your rendition.

Share this post


Link to post
Share on other sites

Well it's not that great, but it works.

 

So here it is if anyone is interested.

 

 

var:

gravestone(false);

gravestone = (open = low) and (open = close) and (High >=Highest ( High,5 ));

If Gravestone = True

then begin

Plot1 (Close, "Gravestone" ) ;

 

Alert ( "Gravestone" ) ;

end ;

 

 

You have to alter Scaling to Sub Graph one. Also I changed it from a dot to a fat cross. Made it easier to see.

Share this post


Link to post
Share on other sites
Well it's not that great, but it works.

 

So here it is if anyone is interested.

...

 

 

 

Great work. Thanks for posting it.

 

Whoever wants to further the learning can add to it.

 

:applaud:

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.