Firetron’s InputAmountSpread

1 155 Views No Comments 4 months ago
  • Creates a group of inputs for Firetron’s GetAmountSpread.

    Custom Command Dependencies:
    None

    Test code:

    if not Load('done', false) then
    
      local p = {listDynamic = CC_InputAmountSpread('Amount Spread')}
    
      local spreadAmounts = CC_GetAmountSpread(p)
    
      for i = 1, #spreadAmounts do
    
        Log('Spread Amount: '..spreadAmounts[i])
    
      end
    
      Save('done', true)
    
    end
    • This topic was modified 4 months ago by Firetron. Reason: Updated test script to use new parameter: listDynamic
    • This topic was modified 3 months, 3 weeks ago by Firetron. Reason: Removed unused vars
    • This topic was modified 3 months, 3 weeks ago by Firetron. Reason: Added "mult" option
    • This topic was modified 3 months, 3 weeks ago by Firetron. Reason: Added "exp" option
    • This topic was modified 3 months, 2 weeks ago by Firetron. Reason: Added offset input
    • This topic was modified 3 months, 1 week ago by Firetron. Reason: Cleaned up test script
    • This topic was modified 3 months, 1 week ago by Firetron. Reason: Added parameter: total
    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