joinfree

ProfitStrategy01

2864浏览
302
2864 2
//@version=2
strategy("ProfitStrategy01", overlay=true)
// Simple Profit making strategy by joinfree
Phigh = (open>close?open:close)
Plow = (open>close?close:open)
longC = (strategy.position_size Phigh) and (Plow > Plow) and (close > open)
strategy.entry("buy", strategy.long, 100000, when=longC)
strategy.exit("buy", "buy", 100000, profit=200, stop=50)
shortC = (strategy.position_size Phigh) and (Plow > Plow) and (close < open)
strategy.entry("sell", strategy.short, 100000, when=shortC)
strategy.exit("sell", "sell", 100000, profit=200, stop=50)
从常用的脚本中删除 添加到常用的脚本
//@version=2
strategy("ProfitStrategy01", overlay=true)
// Simple Profit making strategy by joinfree 
Phigh = (open>close?open:close)
Plow = (open>close?close:open)
longC = (strategy.position_size <= 0) and (Phigh[1] > Phigh[0]) and (Plow[0] > Plow[1]) and (close[0] > open[0])
strategy.entry("buy", strategy.long, 100000, when=longC)
strategy.exit("buy", "buy",  100000, profit=200, stop=50)
shortC = (strategy.position_size <= 0) and (Phigh[1] > Phigh[0]) and (Plow[0] > Plow[1]) and (close[0] < open[0])
strategy.entry("sell", strategy.short, 100000, when=shortC)
strategy.exit("sell", "sell",  100000, profit=200, stop=50)
@addyadzzz4 (hi how does this work ?) When conditions are right enter trade with tight stops and 4 times profit, so with even with three wrongs and one right you are making profit on your trades. All the best.
回复
hi how does this work ??
回复
首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 如何运作 图表功能 价格 网站规则 版主 网站 & 经纪商解决方案 插件 图表解决方案 帮助中心 功能请求 博客 & 新闻 常见问题 维基百科 Twitter
概述 个人资料设置 账号和账单 TradingView代币 我的客服工单 帮助中心 已发表观点 粉丝 正在关注 私人消息 聊天 退出