# ProfitStrategy01

‎3769‎ مشاهدة
3769
//@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)
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])
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 ??
رد