[pshaiCmd] Position Statistics

2 560 Views No Comments 10 months 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 9 months, 3 weeks 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