Pine Script Coder Adds Daily Profit Cap to Meet Prop Firm Consistency Rule
A developer shares a Pine Script method for enforcing a trading consistency rule that limits any single day's profit to a set share of the total profit target. The approach stops each day at a capped profit price, and no new entries are taken once that cap is reached. In back-to-back evaluations on two years of MNQ futures data, the cap raised the number of evaluations meeting the rule from one to 33 of 98. Four evaluations still failed because a trade overshot the cap on its first candle before the limit order could fill. The code tracks closed-trade profits after costs from the evaluation start, resetting each futures day at the 18:00 New York reopen.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in