r/pinescript • • Nov 18 '23

Tradingview Indicator

/r/pinescripts/comments/17y4j6r/tradingview_indicator/

[removed] — view removed post

2 Upvotes

17 comments sorted by

2

u/kurtisbu12 Nov 18 '23

why not convert to a strategy so it can be backtested?

1

u/pinecodermaestro Nov 18 '23

Because I guess the client who asked me to create want separate buy and sell alerts to set up, with alert condition function

2

u/kurtisbu12 Nov 18 '23

You can still get alerts as a strategy.

1

u/pinecodermaestro Nov 18 '23

You can get alert for buy sell target stop loss

1

u/kurtisbu12 Nov 18 '23

Yes

1

u/pinecodermaestro Nov 18 '23

Yeah, the indicator can also do that, I don't know why the client doesn't want it as a strategy

1

u/ilikerolls Nov 18 '23

Is it necessary to use the alertcondition() function? The reason I ask is you can still setup "alerts on a condition" in strategies in version 5 like so. idk what your clients requirements are and my experience with alerts is limited, but thought I'd suggest this incase you weren't already aware.

condition = close >= open

if condition

alert(message = 'Green Bar!', freq = alert.freq_once_per_bar)

1

u/pinecodermaestro Nov 18 '23

I know this thing, but the client explicitly mentioned he want this as an indicator I just don't know why

1

u/ilikerolls Nov 18 '23

Gotcha! Client is always right I guess? 😂

1

u/pinecodermaestro Nov 18 '23

Yeah correct 😅😅

1

u/aelfrictr Nov 25 '23

So what is the question here? This is not a place of advertisement, also what this script does can be found for free on tradingview community library with 1 minute search.

0

u/[deleted] Nov 18 '23

[deleted]

1

u/pinecodermaestro Nov 18 '23

That's what I do on freelancing sites, am trying to build a community so if anyone wants to create a trading view script they can contact me here, in short trying to maintain a social presence.

0

u/[deleted] Nov 18 '23

[deleted]

1

u/pinecodermaestro Nov 18 '23

don't use tradingview as in ? didn't understand

0

u/[deleted] Nov 18 '23

[deleted]

1

u/pinecodermaestro Nov 18 '23

Ohh that's simply because most of the script I create for clients , and obviously they won't like to share them publically but yeah very soon I will be creating some scripts which would be for tradingview and free to use

0

u/[deleted] Nov 18 '23

[deleted]

1

u/pinecodermaestro Nov 18 '23

Well how to add customer support can you tell me? And really thanks for your advice

0

u/[deleted] Nov 18 '23

[deleted]

1

u/pinecodermaestro Nov 18 '23

Also if you want to create a custom script, this will be my first script I will publish there and then will tell you