Program 52 | Markplex modified Renko charting

Markplex modified Renko charting

Program 52 applied to a daily GBPUSD chart. The boxes are filled in this example.

Program 52 applied to a daily GBPUSD chart. The boxes are filled in this example. Click the image to view a larger version.

Program 52 | Markplex modified Renko charting is a TradeStation EasyLanguage indicator designed to draw modified Renko-like boxes on a regular bar chart. Reversals are drawn when a modified box moves one box in a new direction (according to the rules explained below). This program also allows the user to set up a fixed modified Renko box size or one that varies depending on the average true range. If you choose a variable box size, the default setting is: AvgTrueRange( 14 ).

Program 52 applied to daily GBPUSD chart. Boxes are not filled.

Program 52 applied to daily GBPUSD chart. Boxes are not filled.

Since normal Renko boxes do not have a time element, program 52 ‘stretches’ boxes to accommodate the regular chart.

If you are interested in using the new drawing objects classes to draw rectangles, I have included some additional resources for Gold Pass members, including a program that can be copied and pasted. The information may be found at the bottom of this page.

Program 52 is available for immediate download (including a PDF user guide) for $129.95 here:

The program was developed for TradeStation 9.1 and above. Unfortunately the program does not work with MultiCharts.

Calculation methodologies

Program 52 applied to @YM 5 minute chart. A potential resistance line is shown drawn towards the upper left of the image.

Program 52 applied to @YM 5 minute chart. A potential resistance line is shown drawn towards the upper left of the image.

Renko charts are normally created using tick data. Since this program uses the underlying bar data, it operates in a slightly different way. The user has the option of using the high-low methodology or the close methodology. In each case only one price is used to determine whether a new ‘virtual’ box is drawn.

High-low and close methodologies

High-low methodology

With the high–low methodology, when the direction is upward, new boxes are added in real time when the high of a bar is greater than or equal to the top of the last modified Renko box plus the modified Renko box size. This is demonstrated in the first video in this section. If at least one new up box is drawn then there cannot be a reversal for that bar. If the direction is upward but no upward box can be drawn for a specific bar and, at the end of the bar, the low of the bar is less than or equal to the bottom of current modified Renko box less the box size, then a reversal has occurred and a new downward box is drawn. This is demonstrated in the second short video in this section.

When the direction is downward, new boxes are added in real time when the low of a bar is less than or equal to the bottom of the last Renko box less the modified Renko box size. If at least one new down box is drawn then there cannot be an upward reversal for that bar. If the direction is down but no downward box can be drawn for a specific bar and, at the end of the bar, the high of the bar is greater than or equal to the top of the current modified Renko box plus the box size, then a reversal has occurred and a new upward box is drawn.

If neither a new box nor a reversal are  triggered then nothing is drawn.

Modified Renko program applied to a 3 minute IBM chart. The FixedBox setting is False and the VariableRenkoBoxSizeis: AvgTrueRange( 14 )

Modified Renko program applied to a 3 minute IBM chart. The FixedBox setting is False and the VariableRenkoBoxSize is: AvgTrueRange( 14 )

Close methodology

With the close methodology, when the direction is upward, new boxes are added at the close of the underlying bar when the close of the bar is greater than or equal to the top of the last Renko box to be drawn plus the modified Renko box size. If at least one new up box is drawn then there cannot be a reversal for that bar. If the direction is upward but no upward box can be drawn for a specific bar and, at the end of the bar, the close of the bar is less than or equal to the bottom of current modified Renko box less the box size, then a reversal has occurred and a new downward box is drawn.

When the direction is downward, new boxes are added at the close of the underlying bar when the close of a bar is less than or equal to the bottom of the last Renko box to be drawn less the modified Renko box size. If at least one new down box is drawn then there cannot be a reversal for that bar. If the direction is down but no downward box can be drawn for a specific bar and, at the end of the bar, the close of the bar is greater than or equal to the top of the current modified Renko box plus the box size, then a reversal has occurred and a new upward box is drawn.

If neither a new box nor a reversal are  triggered then nothing is drawn.

Support and resistance

Program 52 also analyzes the modified Renko boxes to display the equivalent of support and resistance levels.

Program 52 applied to a 5 minute @ES chart demonstrating a line drawn between 3 columns with equal bottoms.

Program 52 applied to a 5 minute @ES chart demonstrating a line drawn between 3 columns with equal bottoms.

On a Renko chart, support levels can be drawn when several down columns have the same price at the bottom of the column. Resistance levels can be drawn when several up columns have the same price at the top of the columns. Program 52 provides user inputs for the number of columns required to confirm a pattern. The patterns are displayed by drawing lines on the chart. The color of the plots are determined by user inputs. The columns may be ‘stretched’ horizontally to take into account the time element of a regular chart .

Program 52 applied to 5 minute @ES chart showing equal tops linked by a line

Program 52 applied to 5 minute @ES chart showing equal tops linked by a line

Sloping support and resistance lines

Support lines that slope upward and resistance lines that slope downwards are also highlighted by program 52. On a regular Renko chart these patterns occur when the Renko ‘building blocks’ slope upwards at a 45 degree angle. Because of the time element of a regular chart the equivalent program 52 patterns may not slope at a 45 degree angle, however they may be indicative of possible support or resistance.

Programming notes

Program 52 uses the new DrawObjects class to draw the modified Renko boxes. The DrawObjects class became available in TradeStaion 9.1. update 22 and allows (among other things) the drawing of rectangles together with the ability to shade them or fill them completely.

This program also uses vectors from the Collections class in order to process the support and resistance patterns.

Program 52 was designed for TradeStation 9.1 (update 22 and above). It works on intraday, daily, weekly and monthly charts. 

Inputs

FixedBox( TRUE ), // If set to true the modified Renko box size is set to the size specified by the user input: FixedRenkBoxSize
// if set to false the modified Renko box size varies depending on the formula in the user input: VariableRenkoBoxSize
VariableRenkoBoxSize( AvgTrueRange( 14 ) ), // Size of variable sized box
FixedRenkBoxSize( 5 ), // Size of fixed box
RenkoShading( 0 ), // See fill pattern options above
UpColor( Green ), // Color of up boxes
DnColor( Red ), // Color of down boxes
HiLoMethod( TRUE ), // If TRUE program uses the High – Low methodology, otherwise the close methodology

NumLos( 3 ), // The Number of lows required to highlight multiple equal bottoms
NumHis( 3 ), // The number of highs required to highlight multiple equal tops
NumLosCol( Green ), // Color of line highlighting multiple equal bottoms
NumHisCol( Red ), // Color of line highlighting multiple equal tops

NumRes( 2 ), // The number of highs required to draw a resistance plot
NumSup( 2 );,// The number of lows required to draw a support plot
NumResCol( Magenta ), // Color of lines highlighting resistance plot
NumSupCol( Cyan ); // Color of lines highlighting support plot

Fill pattern options

The following numbers are potential inputs for the user input: RenkoShading.

1: Empty background

2: Horizontal lines

3: Vertical lines

4: Diagonal lines, left to right, top to bottom

5: Diagonal lines, left to right, bottom to top

6: Cross-hatch

7: Diagonal cross-hatch

Video of program 52

Please note that any screen shots on this site are examples and are not meant to imply that any of these programs will generate profitable trades.

Gold Pass bonus information

Program 52 makes extensive use of the new EasyLanguage drawing object classes, particularly the rectangle class which is used to draw the modified Renko boxes.

In the following section I have created a simple show me study that demonstrates how to use the drawing objects class to draw rectangles on a chart. The code is available to be copied and pasted by Gold Pass members. I have also included a short video that aims to explain this show me study.

This content is for Gold Pass members only.

THESE INDICATORS, SHOW ME STUDIES, STRATEGIES AND OTHER PROGRAMS HAVE BEEN INCLUDED SOLELY FOR EDUCATIONAL PURPOSES.

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.

Disclaimer The information, materials, products and services on this Web site are made available subject to the following terms and conditions. Markplex Corporation reserves the right to change these terms and conditions at its sole discretion. This Web site and any downloads, videos, tutorials, programs and information contained herein is presented solely for educational, informational, and/or entertainment use and under no circumstances should be used for actual trading. We at Markplex Corporation are not Broker/Dealers, Financial Advisers or Registered Analysts. No offer or solicitation to buy or sell securities, securities derivatives, futures products or off-exchange foreign currency (forex) transactions of any kind, or any type of trading or investment advice, recommendation or strategy, is made, given or in any manner endorsed by Markplex Corporation. You are fully responsible for any investment or trading decisions you make. Futures and options trading has a large potential risk. You must be aware of the risks and be willing to accept them in order to invest in the futures and options markets. This Web site is neither a solicitation nor an offer to buy and/or sell futures or options. No representation is being made that any account will or is likely to achieve profits or losses similar to those discussed on this Web site. Past performance, whether actual or indicated by historical tests of strategies, is no guarantee of future performance or success. No warranties of profitability are being made or given. There is a possibility that you may sustain a loss equal to or greater than your entire investment regardless of which asset class you trade (equities, options futures or forex); therefore, you should not invest or risk money that you cannot afford to lose. CFTC RULE 4.41 - Hypothetical or simulated performance results have certain inherent limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not actually been executed, the results may have under- or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown. Screen shots on this site are examples and are not meant to imply that any of the programs or tutorials available on this Web site will generate profitable trades. 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, informational, and entertainment use. 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. 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 Web site including the information, tutorials and/or programs included on it is at your own risk. You shall indemnify and hold Markplex Corporation harmless from any and all liability, loss, trading losses, costs, damage, or expense, including attorneys' fees you or third party may suffer (other than damage to your tangible property or injuries to employees occurring during the course of work) as a result of claims, demands, costs, or judgments arising out of third party and any other claims based on Markplex Corporation's performance, including, but not limited to losses resulting from the use of Markplex Corporation developed software, programs, web sites, tutorials, or the TradeStation charting and/or trading platform. Any testimonials on this Web site may not be representative of the experience of other clients and are not indicative of future results or success.
This Web site contains or may contain references and links to other companies and/or their Web sites, none of which is under the control of Markplex Corporation. Markplex Corporation makes no representations, warranties or endorsements whatsoever about any other Web sites to which you may have access through the Markplex Corporation Web site, or any products or services of those other companies, even if the products or services of those other companies or their Web sites are described or offered on the Markplex Corporation Web site or integrated with Markplex Corporation's products or services. TradeStation®, EasyLanguage® and PowerEditor® are registered trademarks of TradeStation Technologies, Inc. Other brand and product names which appear on this site are the trademarks or service marks of their respective owners, including: Microsoft® is a registered trademark in the United States Microsoft®Excel® is a registered trademark of Microsoft® Neither TradeStation Technologies nor any of its affiliates has reviewed, certified, endorsed, approved, disapproved or recommended, and neither does or will review, certify, endorse, approve, disapprove or recommend, any product or service that offers training, education or consulting regarding the use of EasyLanguage.

By continuing to use and navigate our sites, services, applications, tools or messaging, you are agreeing to our Terms and Conditions and the use of cookies, web beacons and similar technologies as described in our Privacy Policy and Privacy Policy on the use of cookies.