REV0LUTI0N

EMA Strategy

REV0LUTI0N 업데이트됨   
This is a simple EMA cross strategy. This script was published by CaptJava. I added in the ability to check off a box and allow shorting, the ability to select a back testing date range and also the ability to enter the buy message and sell message in the properties.  You then create the webhook alert and put only this in the message:
{{strategy.order.alert_message}}
That will pull in your alert message dynamically.

I may add more features to this over time.
릴리즈 노트:
I already made some changes to this script because I discovered the alerts that you set in the properties wasn't working properly. Now it's fixed and if you put {{strategy.order.alert_message}} in your alert message it will dynamically populate from the messages you set for entry/exit in the strategy properties. I also noticed depending on what trade automation service you're using, it can fire too many alerts so I added now 3 options. First you can select long only and it will launch a long entry and long exit signal. Second is short only which will launch a short entry and short exit signal. Lastly is order swapping where it will take both sides but will only launch long entry and short entry each time. One final option would be to check of long only and short only if you wanted to take both sides and needed there to be an alert to close one position before opening another. There's too much detail to get into here, but depending on if you're using 3commas vs another automation service for crypto or a service like Traderspost.io for stocks, you will need the flexibility of these options. Finally please note that if you use the stop loss feature, the exit alerts will use the long exit and short exit messages.
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

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

차트에 이 스크립트를 사용하시겠습니까?