[pshaiCmd] Position Statistics

2 596 Views No Comments 1 year ago
  • A handy custom command for useful information in backtests and live bots!
    Information displayed via CustomReport()’s.

    Usage testample:

    local c = ClosePrices()
    local rsi = RSI(c, 14)
    
    if rsi > 70 then
        DoShort()
    elseif rsi < 30 then
        DoLong()
    end
    
    CC_PositionStatistics()
    • This topic was modified 1 year ago by pshai.
    HaasScript Code
    Sign in or Register to view
Login or Register to Comment

Unlock your crypto trading potential

Create a free account and enjoy everything we have to offer.

Join for Free