r/pinescript • u/Spare_Cap8928 • Oct 15 '26
Creating an code via Pine Editor - need help
/r/TradingView/comments/1x7196j/creating_an_code_via_pine_editor_need_help/
0
Upvotes
r/pinescript • u/Spare_Cap8928 • Oct 15 '26
1
u/NJ_Algo Oct 16 '26 edited Oct 16 '26
You probably mean alertcondition() (one word in Pine).
It usually throws an error for one of three reasons:
The basic form should look something like this:
Then on the chart, go to create alert - condition - pick your indicator - “Long”.