Support Board
Date/Time: Sun, 22 Dec 2024 16:17:50 +0000
[User Discussion] - Request for code: coloring swings
View Count: 1040
[2015-02-01 10:36:15] |
EuropeanTrader - Posts: 290 |
Hello, can anybody here create a simple code that would color price swings from swing to swing? Rules are pretty simple but I have a few small addons so I can't really find an already made indicator of it... Thanks ! ............................................................................. rules: 1. market moves from swing high (SH) to swing low (SL) and again to swing high to swing low to swhing high to swing low ... 2. meaning that there cannot be a swing high UNTIL a swing low is created (and viceversa) - because how can there be a next swing if the old one is still in the making? 3. swing high constitutes of extreme high candle that is surrounded by 2 or more candles on the left that are lower then the extreme candle high and is surrounded by 2 or more candles on the right that are lower then the extreme candle high 4. swing low constitutes of extreme low candle that is surrounded by 2 or more candles on the left that are higher then the extreme candle low and is surrounded by 2 or more candles on the right that are higherthen the extreme candle low 5. equal price extreme swings are allowed IF they are still surrounded by 2 or more candles on each side as described above, oherwise not 6. minimum price of the swing is 1x ATR14 big on the chosen chart / time frame... meaning that all the small moves are simply ignored 7. bars should be colored blue on an upswing and red on a downswing *should be a simple and fast SC script running in a background Date Time Of Last Edit: 2015-02-01 10:51:28
|
[2015-02-09 20:42:14] |
EuropeanTrader - Posts: 290 |
I am willing to pay for it. Anyone interested? |
[2015-02-10 00:27:36] |
Sawtooth - Posts: 4141 |
This could be done with the Spreadsheet Study study. Contact me here: tom@sawtoothtrade.com |
To post a message in this thread, you need to log in with your Sierra Chart account: