admin管理员组文章数量:1287653
in pinescript, how can i enter a stop market order. im trying to run an School run system where as soon as the candle sweeps the previous candles low, it enters short, and vice versa, so it is not a limit order, rather a stop market order
if high>highLevel and not highBroken strategy.order("Long", strategy.long, stop=highLevel)
if low<lowLevel and not lowBroken strategy.order("Short", strategy.short, stop=lowLevel)
is my current code, and i'm looking to see how to execute a market order, as at the moment these are my entries:
Tradingview chart
and its entering on the open of the next candle
本文标签: pine scriptPinescript stop market orderStack Overflow
版权声明:本文标题:pine script - Pinescript stop market order - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741315976a2371915.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论