Constants
strategy.commission_percent
A commission type for the `commission_type` argument of `strategy()`: `commission_value` is a percentage of each order's value.
Example
//@lipi=2
strategy("strategy.commission_percent Example", overlay=true, initial_capital=10000, commission_type=strategy.commission_percent, commission_value=0.1)
if talib.crossover(close, talib.sma(close, 20)) {
strategy.entry("Long", strategy.long)
}
Type
const string