Rectangle Alert

 
Anyone have the code for just a simple alert once price hits the rectangle? Only one alert when hit would be great
 
Justin Joseph Mcnabb :
Anyone have the code for just a simple alert once price hits the rectangle? Only one alert when hit would be great

What is "price" - is it "Close", is it "High" or is it ...

What does "cross" mean? Looking at bar # 0 or bar # 1?

 
Vladimir Karputov:

What is "price" - is it "Close", is it "High" or is it ...

What does "cross" mean? Looking at bar # 0 or bar # 1?

Open price, just the moment price hits the rectangle.
 

Price touched the rectangle Alert :

Utility indicator: gives a signal if the price crosses the rectangle

Price touched the rectangle Alert

 
Justin Joseph Mcnabb: Anyone have the code for just a simple alert once price hits the rectangle? Only one alert when hit would be great

Why do you think you need code? Just set an Alert (Chart → Right-click → TradingAlert).

 
William Roeder:

Why do you think you need code? Just set an Alert (Chart → Right-click → TradingAlert).

I use a lot of pairs so i want something fast, handy if the box i draw is the alert instead of drawing and then right clicking the alert adn having to edit the details there.
Reason: