Optuma Forums › Optuma Scripting › RAD Chandelier › Reply To: RAD Chandelier
March 3, 2021 at 8:22 pm
#62821
- Topics: 70
- Replies: 832
- Posts: 902
Hi Evan,
If you start typing ‘chandelier’ in the script editor window a pop-up suggests using CHST for a chandelier stop function:
I’m not sure how this differs from the RAD Chandelier, but the default settings use a 20ATR with a factor of 3, which can easily be changed.
Similar to the Parabolic Stop & Reverse PSAR() function, CHST() has a ‘state’ condition, where 1 is long (ie close is above the chandelier value) and 0 is short. So the following used in a watchlist will give a value of 1 or 0:
1 2 3 |
CHST(DEFAULT=State) |
You can then format the column to display Long or Short by right-clicking on the column heading and selecting Custom Labels: