#ifndef __RSI_h_ #define __RSI_h_ #include "../misc_framework/DataNodes.h" // This returns a generic data node factory wrapped in a DataNodeArgument // to get the memory management. // // For simplicity this does not ever notify the listener. The way it is // typically used, that is not a problem. The value could change each // time that the underlying clock changes and every time the last print // changes. // // This value always looks at the candle in progress. // // This does not have as much caching as I'd like. Each time you ask // for a value, it does more work that I'd like. DataNodeArgument createRsiFactory(int minutes = 15, int bars = 14, bool strict = false); #endif