Firetron’s InputPriceSpread

1 592 Views No Comments 3 years ago
  • Creates a group of inputs for Firetron’s GetPriceSpread.

    Custom Command Dependencies:
    None

    Test Script:

    if not Load('done', false) then
    
      local p = {listDynamic = CC_InputPriceSpread('Price Spread')}
    
      local spreadPrices = CC_GetPriceSpread(p)
    
      for i = 1, #spreadPrices do
    
        Log('Spread Price: '..spreadPrices[i])
    
      end
    
      Save('done', true)
    
    end
    • This topic was modified 3 years, 4 months ago by Firetron. Reason: Added a tag
    • This topic was modified 3 years, 4 months ago by Firetron. Reason: Updated test script to use new parameter: listDynamic
    • This topic was modified 3 years, 4 months ago by Firetron. Reason: Added "exp" option
    • This topic was modified 3 years, 3 months ago by Firetron. Reason: Added offset input
    • This topic was modified 3 years, 3 months ago by Firetron. Reason: Added fibPercent spreadType
    HaasScript Code
    Sign in or Register to download for free
Login or Register to Comment

Unlock your crypto trading potential

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

Join for Free