OPEN-SOURCE SCRIPT

Signal generator

2 805
This simple script generates signals for testing the connection from TradingView to a REST API client via the webhook and demonstrates very basic concepts of gerenating alerts within the script.

This script also demonstrates how to visualize when a buy or a sell should take place and how to use diagnostics text for bug fixes/informational purposes.

This is for testing and learning only. Do not use with real money as losses WILL occur. This script is for educational purposes only and should only be used with demo accounts, never with real money.

Buy signals are generated when closing price is less then opening price.

Sell Signals are generated when closing price is greater then opening price.

Can also be used to test signal counting and very rudimentary dollar cost averaging.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.