Login Page - Create Account

Support Board


Date/Time: Tue, 21 May 2024 18:31:07 +0000



Post From: How to avoid Subgraph_

[2020-05-31 06:30:23]
gfx2trade - Posts: 48
Hi,
New to SC, and C++... I am currently working on a trading system that relies on several intermediate calculations.
I could build part of it, and run it on the plateform, but I wonder if there is a way to avoid using the Subgraph_ "variable"

For example, I currently write sc.simpleAverage(sc.Close, Subgraph_SMA, sc.Index, 21);
Is there another syntax to bypass Subgraph_SMA, e.g. float mySMA = sc.simpleAverage(sc.Close, sc.Index, 21);

In other words, I would like not to see my indicator in the setting/Subgraph of the trading system.

Thanks in advance.

B. Gfx