EntryLongProfitPerBar( ARRAY max drawdown, ARRAY maximum days)
RETURNS
NUMERIC ARRAY
DESCRIPTION
For each bar in the CLOSE array, calculate the performance PER BAR of a system that buy the current symbol at the next open bar and sell it when the system drawdown becomes higher than the specified number or the maximum number of bar is reached