[strvinmarvin] (Snippet) Log Colors and Key,Pair Loop Example

0 43 Views No Comments 4 weeks ago
  • This is an example of how to use the loop method ‘for key in pairs’ on a Lua Array, as well as how to construct an Array manually and how to use the resulting values to change the color of Log text:

    This can be applied to many kinds of Haasscript objects, such as GetAllOpenPositions(), OrderContainer(), etc.

    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