Login Page - Create Account

Support Board


Date/Time: Sat, 10 May 2025 23:37:00 +0000



[Programming Help] - Request for simple code/indicator

View Count: 1180

[2016-05-21 07:37:06]
EuropeanTrader - Posts: 290
Hello everyone!

Can someone please create some sort of alert (colored bar or a dot signal beyond a bar) when a simple criteria is met:

"A bar opens at 20% extreme and closes on the other 20% extreme of its price range".

For example:

Low of bar is 100, high is at 200. Open is at 120 and close is at 180. You see that Open/Close of that particular bar were on the extreme ends, at their 20% extremes.

Attached is also a visual example (not all examples are circled, just a few so you get an impression).

===========================
The idea comes from Linda Raschke's book Street Smarts where she made some statistics that show very high odds of breaching that bar's high/low the next day. It's a good quantitative model within good trend trades could be made).
===========================

Thank you!!
Date Time Of Last Edit: 2016-05-21 07:38:00
image8020s.png / V - Attached On 2016-05-21 07:37:15 UTC - Size: 29.09 KB - 388 views
[2016-05-21 12:57:40]
jackw - Posts: 57
Copy the study collection file below to your data directory, and then apply it to your chart. It will color any bars that meet the extreme criteria.
attachmentExtremes-.StdyCollct - Attached On 2016-05-21 12:57:01 UTC - Size: 9.4 KB - 422 views
[2016-05-23 04:22:38]
EuropeanTrader - Posts: 290
This looks awesome!
Thanks a lot "jackw"

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account