Traders Laboratory - View Single Post - Easylanguage and Script Help
View Single Post
  #5 (permalink)  
Old 03-26-2008, 09:45 AM
Blu-Ray's Avatar
Blu-Ray Blu-Ray is offline
Blu-Ray is or is not online

Trader Specs
 
Join Date: Nov 2006
Location: England
Posts: 401
Thanks: 92
Thanked 34 Times in 22 Posts
Re: Easylanguage and Script Help

Quote:
View Post
IF C[1]>C[2] and c[2] > C[3] and C[3] > C [4] and H > H [1] and C < O then
plot1 (h+1,"High")
else
noplot1;

Set to plot a dot, it should plot over the high on bar close. You can but your own logic in quite simply. The number in square brackets [n] signifies n bars ago. Haven't tested it as I typed it straight into the post. I'm sure BlueRay wll correct it if I am wrong
hehehe....nice one Blowfish.

The only thing I would add to the line would be :

H > H[2] and H > H[3] and H > H[4]

Just incase one of the previous candles had a higher high leaving a long shadow. As with Blowfish, I've never tested it, but give it a try and let us know how you get on.

Cheers

Blu-Ray

__________________
Remember - Take the path of least resistance.
Reply With Quote
The Following User Says Thank You to Blu-Ray For This Useful Post:
darknite999 (03-26-2008)