//@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,...