Consecutive Wins How To Calculate
Consecutive Wins How To Calculate
Anyone know how to calculate consecutive wins in a script? I want to basically say "if consecutive wins are equal to 2 then wait X bars" as part of the conditional statements to enter another trade.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Consecutive Wins How To Calculate
Hello tony,
That is possible to calculate profit/loss for closed trades the following way:
exitprice(1)-entryprice(1) (for long trade).
That is possible to calculate profit/loss for closed trades the following way:
exitprice(1)-entryprice(1) (for long trade).
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times