How do I code a consistency rule in Pine Script?
Keep the day's books and the biggest day. Then stop each day at the rule's share of your profit target. With no day above 30% of the profit and a $3,000 target the cap is $900. A day that stops there can never be more than 30% of a profit that reached the tar…


