ex_backtest v0.0.1 ExBacktest.Strategy.SimpleRSI

Link to this section Summary

Functions

potential_trades Gives the potential buy and sell indexes in the given data

Link to this section Functions

Link to this function

potential_trades(data)

potential_trades([float()]) :: {[integer()], [integer()]}

potential_trades Gives the potential buy and sell indexes in the given data

Parameters

  • data: An array of price data like Close prices.