OPEN-SOURCE SCRIPT

Pro Trading Art Open Range Breakout Strategy

已更新
This strategy is based on Selected Candle High Low Breakout with buffer point.

You can select specific candle from input tab by giving time of that candle.

Default Settings:

Start Hour : Hour of starting candle means from this input you can specify opening candle. Default is 9.
Start Minute: Minute of starting candle. Default is 15. Means Default opening candle is 9:15

Stop Hour : Means After this time no new trade will execute.

End Hour & End Minute & Close All Trade : Means when you specify End Hour and Minute and Close all trade is true then strategy will close all trade on specified time.

Buffer : With the help of this option you can add some point in High and low of Opening Candle

Trade Mode : You can specify Target and Stop Loss in point or Percent

Stop Loss Point or Percent : This will work according to Trade Mode

Target Point Or Percent : This will work according to Trade Mode




版本注释
Update Notes:
Default Variable Updated
Stop Hour : 14
Stop Loss Point : 10
Target Point : 500
版本注释
Target & Stop Loss Update
Previously I was calculating target and stop loss from High and Low of entry bar. But after some recommendation from you guys, Now It's calculating from entry price.
版本注释
Trade Optimized

Detect Strong Range
Now validating strong movement with the help of opening candle size. By default I'm saying if opening candle length is greater than 0.4 % then consider it as a strong move. You can change is from "Open Range %" Input field.

Trade Gap: New Input Field
Now I'm checking if market giving you more than 100 point profit then change stop loss to entry_price + Trade Gap/4. Means if market move 100 point and again market reverse then at least you can book 25 point profit.
版本注释
Profit Booking Update

Min Profit Point After Trade Gap : New Input Field
Now you can book profit on specific point, when market move more than "Trade Gap" Point. Suppose market move more than 100 point in profit and market reverse then you can book at least 50 point profit. This is default. But now you can change it from input tab.
版本注释
Alert Added:

For fully automatic alert select "Order fills only" and in message box paste this : {{strategy.order.alert_message}}

And you can change message from input tab
Long : Message for long trade.
Short : Message for short trade.
Long Exit : Message for Long exit.
Short Exit : Message for Short exit.
rangebreakoutsentimentstrategyTrend AnalysisVolatility

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明