Skip to content

Program 19 | Draw rectangle with alerts triggered when price crosses sides

Program 19 consists of an unprotected TradeStation EasyLanguage indicator for TradeStation version 9.0. It draws a rectangle on the chart that the user can move by clicking on one of the sides and moving it. The other sides then adjust to join the new position of the line just moved. The program includes alerts to the top line, bottom line and right line, so that if the price of the last bar on the chart crosses any of these lines an alert occurs.The indicator is explained in detail in the video below. It uses some of the new features available in TradeStation 9.0.

This unprotected indicator is available for immediate download by clicking below to pay using Credit Card or PayPal. The program works in TradeStation version 9.0. I have commented the code. It has been tested it on intraday, daily, weekly and monthly charts for futures, stocks and forex.

The program works in TradeStation version 9.0. I have commented the code. It has been tested it on intraday, daily, weekly and monthly charts for futures, stocks and forex.

THE INDICATOR HAS BEEN INCLUDED SOLELY FOR EDUCATIONAL PURPOSES.

More Details

The program draws a box, initially positioned in the middle of the screen, but it subsequently can be adjusted by moving any one of the sides.

The left side must always be on the left. If you try and move it to the right of right hand side, it will snap back to its position. The same applies for the other sides.

The value of the line is displayed in the middle of the top, bottom and right lines.

Alerts have been set up if price action goes crosses the top line, bottom line, or right line.

The colors of the lines and text are defined by the user inputs TopLineCol, BottomLineCol, LeftLineCol, and RightLineCol. They are set initially
as:

  • TopLineCol( Red ),
  • BottomLineCol( Yellow ),
  • LeftLineCol( Green ),
  • RightLineCol( Cyan );

Screen Images

Program 19 applied to a 1 minute GBPUSD chart. An alert has occured because the price has reached the time of the right line
Program 19 applied to a 1 minute GBPUSD chart. An alert has occurred because the price has reached the time of the right line

In order to see a bigger image, simply click on the image you would like to enlarge. Once open, to close the enlarged image, click the cross at the top right hand corner.


A screen short showing user inputs.
A screen short showing user inputs.

This unprotected indicator is available for immediate download by clicking below to pay using Credit Card or PayPal. The program works in TradeStation version 9.0. I have commented the code. It has been tested it on intraday, daily, weekly and monthly charts for futures, stocks and forex.

THE INDICATOR HAS BEEN INCLUDED SOLELY FOR EDUCATIONAL PURPOSES.

See a video demonstration below.

TO THE BEST OF MARKPLEX CORPORATION’S KNOWLEDGE, ALL OF THE INFORMATION ON THIS PAGE IS CORRECT, AND IT IS PROVIDED IN THE HOPE THAT IT WILL BE USEFUL. HOWEVER, MARKPLEX CORPORATION ASSUMES NO LIABILITY FOR ANY DAMAGES, DIRECT OR OTHERWISE, RESULTING FROM THE USE OF THIS INFORMATION AND/OR PROGRAM(S) DESCRIBED, AND NO WARRANTY IS MADE REGARDING ITS ACCURACY OR COMPLETENESS. USE OF THIS INFORMATION AND/OR PROGRAMS DESCRIBED IS AT YOUR OWN RISK.

ANY EASYLANGUAGE OR POWERLANGUAGE TRADING STRATEGIES, SIGNALS, STUDIES, INDICATORS, SHOWME STUDIES, PAINTBAR STUDIES, PROBABILITYMAP STUDIES, ACTIVITYBAR STUDIES, FUNCTIONS (AND PARTS THEREOF) AND ASSOCIATED TECHNIQUES REFERRED TO, INCLUDED IN OR ATTACHED TO THIS TUTORIAL OR PROGRAM DESCRIPTION ARE EXAMPLES ONLY, AND HAVE BEEN INCLUDED SOLELY FOR EDUCATIONAL PURPOSES. MARKPLEX CORPORATION. DOES NOT RECOMMEND THAT YOU USE ANY SUCH TRADING STRATEGIES, SIGNALS, STUDIES, INDICATORS, SHOWME STUDIES, PAINTBAR STUDIES, PROBABILITYMAP STUDIES, ACTIVITYBAR STUDIES, FUNCTIONS (OR ANY PARTS THEREOF) OR TECHNIQUES. THE USE OF ANY SUCH TRADING STRATEGIES, SIGNALS, STUDIES, INDICATORS, SHOWME STUDIES, PAINTBAR STUDIES, PROBABILITYMAP STUDIES, ACTIVITYBAR STUDIES, FUNCTIONS AND TECHNIQUES DOES NOT GUARANTEE THAT YOU WILL MAKE PROFITS, INCREASE PROFITS, OR MINIMIZE LOSSES.

This unprotected indicator is available for immediate download by clicking below to pay using Credit Card or PayPal. The program works in TradeStation version 9.0. I have commented the code. It has been tested it on intraday, daily, weekly and monthly charts for futures, stocks and forex.

THE INDICATOR HAS BEEN INCLUDED SOLELY FOR EDUCATIONAL PURPOSES.

Video demonstration of program 19

This unprotected indicator is available for immediate download by clicking below to pay using Credit Card or PayPal. The program works in TradeStation version 9.0. I have commented the code. It has been tested it on intraday, daily, weekly and monthly charts for futures, stocks and forex.

If you would prefer to pay be check, please make a check payable to Billy Fire LLC and mail to Billy Fire LLC, 14781 Pomerado Road, #110, Poway CA 92064 together with a valid email address. I will email download instructions to you.

Please email any bugs that you may discover to support@markplex.com.

TO THE BEST OF MARKPLEX CORPORATION’S KNOWLEDGE, ALL OF THE INFORMATION ON THIS PAGE IS CORRECT, AND IT IS PROVIDED IN THE HOPE THAT IT WILL BE USEFUL. HOWEVER, MARKPLEX CORPORATION ASSUMES NO LIABILITY FOR ANY DAMAGES, DIRECT OR OTHERWISE, RESULTING FROM THE USE OF THIS INFORMATION AND/OR PROGRAM(S) DESCRIBED, AND NO WARRANTY IS MADE REGARDING ITS ACCURACY OR COMPLETENESS. USE OF THIS INFORMATION AND/OR PROGRAMS DESCRIBED IS AT YOUR OWN RISK.

ANY EASYLANGUAGE OR POWERLANGUAGE TRADING STRATEGIES, SIGNALS, STUDIES, INDICATORS, SHOWME STUDIES, PAINTBAR STUDIES, PROBABILITYMAP STUDIES, ACTIVITYBAR STUDIES, FUNCTIONS (AND PARTS THEREOF) AND ASSOCIATED TECHNIQUES REFERRED TO, INCLUDED IN OR ATTACHED TO THIS TUTORIAL OR PROGRAM DESCRIPTION ARE EXAMPLES ONLY, AND HAVE BEEN INCLUDED SOLELY FOR EDUCATIONAL PURPOSES. MARKPLEX CORPORATION. DOES NOT RECOMMEND THAT YOU USE ANY SUCH TRADING STRATEGIES, SIGNALS, STUDIES, INDICATORS, SHOWME STUDIES, PAINTBAR STUDIES, PROBABILITYMAP STUDIES, ACTIVITYBAR STUDIES, FUNCTIONS (OR ANY PARTS THEREOF) OR TECHNIQUES. THE USE OF ANY SUCH TRADING STRATEGIES, SIGNALS, STUDIES, INDICATORS, SHOWME STUDIES, PAINTBAR STUDIES, PROBABILITYMAP STUDIES, ACTIVITYBAR STUDIES, FUNCTIONS AND TECHNIQUES DOES NOT GUARANTEE THAT YOU WILL MAKE PROFITS, INCREASE PROFITS, OR MINIMIZE LOSSES.