Support Board
Date/Time: Fri, 29 Nov 2024 21:33:15 +0000
Post From: Programming Help - Candle identification
[2022-12-31 05:43:16] |
User183724 - Posts: 183 |
Color Bar Based on Alert Condition after youve read all that, and want to give it a try... look near the top left of the screen and find ... Analysis... click it then click Studies... under the Studies Available: window, find and click on Color Bar Based On Alert Condition. note... there are several studies with simular names so double check you have this one selected. click... Add... button at the upper center of this window. Color Bar Based On Alert Condition should appear under the Studies to Graph window. Click on it and a new window opens. near the top is a line of tabs. click ...Subgraphs. near the middle of the window is a ...Color: button. Its default color is Magenta (Pink). click the button and change the color by clicking Yellow (or anyother color you like...I like yellow because its easy for me to find the bars) and click OK. While your there, in the Draw Style: block next to Color, make sure it reads... Color Bar... which is default. if not, you'll need to click the little down arrow and find Color Bar. Back up at the top, click Alerts tab In the Alert Condition: type the following: C>O that reads "the close is greater than the open ... green bar". ensure the Enabled square is checked. if not click the little square and a check should be in it. Near the bottom of the window click APPLY. then click OK. after the Studies window comes up, near the bottom, click Apply and then Ok. All the green candles (except for Doji bars) on your chart should be your new color. This alert only affects this chart. if you want it on other charts you'll need to repeat this exercise on each chart. By changing the ... C>O ... to another formula, you will identify bars that meet your formula. just repeat the steps above. try ... O>C "open is greater than the close .. red bar" ... that makes all the red bars change... all except Doji bars.. they require their own formulas. you can hide this study by returning to the studies window, select Color Bar Based On Alert Condition in the Studies to Graph window, and click the 'Hide' box on the middle right side of the window. near the bottom of the window, Click Apply and Ok. the green bars should have their orginal color. The specific formula you need for your situation is a two bar formula. Its a little complex because you need to identify both green bars and red bars of both types you want to find and then combined them together. you'll also need to use the ticksize key word to set the tick limits for the bars. Id recommend completing this little exercise first to get a feel for the process before tackling those formulas. for more information: Study/Chart Alerts And Scanning Date Time Of Last Edit: 2022-12-31 06:02:37
|