Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 16:32:36 +0000



NEED HELP WITH ALERT FORMULAR DEFINITION

View Count: 355

[2024-02-17 13:33:12]
User659427 - Posts: 5
PLEASE I WILL BE GRATEFUL IF ANYONE CAN HELP ME WITH THIS, I AM NEW TO SIERRA CHARTS AND PROGRAMMING/CODING


MY GOAL IS TO BE ALERTED WHEN
//(ALERT BULLISH CONDITIONS)

A)MY VOLUME CHART STUDY HAS A VALUE >= XXXX
B)MY DELTA CHART STUDY HAS A VALUE >= +XXX
C)MY CANDLE STICK CHART OVERLAY SYMBOL IS BULLISH for a +VE DELTA VALUE and not alert if the candle is BEARISH

The Above two thus (A & B) I have already figured out but how to add the extra filter for a bullish or bearish
candle alert when delta is positive for bullish and not alert if candle is bearish is my current challenge

Attached are images describing my input values
imagevolume delta bullish and bearish candle.png / V - Attached On 2024-02-17 13:06:51 UTC - Size: 75.27 KB - 56 views
imageinput study Subgraph value ID3.SG1 for Delta.png / V - Attached On 2024-02-17 13:30:49 UTC - Size: 50.45 KB - 45 views
imageinput study Subgraph value ID3.SG1 for Volume.png / V - Attached On 2024-02-17 13:31:04 UTC - Size: 54.27 KB - 52 views
[2024-02-17 13:42:24]
User659427 - Posts: 5
Managed to set my alert code as

=AND(ID3.SG13 >=1000,ID3.SG1>=200,ID28.SG1[1]) but it doesn't filter by candle colour please any help will be appreciated

kindly see attached images for more understanding
imagesample alert for bullish market but it doesn't work.png / V - Attached On 2024-02-17 13:40:54 UTC - Size: 39.07 KB - 46 views
imageCandle stick Value as filter.png / V - Attached On 2024-02-17 13:41:00 UTC - Size: 71.25 KB - 49 views
[2024-02-17 17:23:15]
cmet - Posts: 551
Not exactly clear what you mean but if a bullish bar is simply a green candle and a bearish one a red candle, just use open and close:

=AND(ID3.SG13 >=1000,ID3.SG1>=200,ID28.SG1[1], C > O)
[2024-02-18 12:06:00]
User659427 - Posts: 5
this resolved my issue

I really appreciate

Thank you

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

Login

Login Page - Create Account