Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 23:28:14 +0000



[Programming Help] - Calling a boolean variable in C++ file into a spreadsheet for trading

View Count: 126

[2024-01-23 20:15:36]
User347921 - Posts: 39
Hello, I've a 7-day trial of the footprint indicator by TDU. I want to test how multiple signals of divergences can lead to good signals or not. Their Indicator doesn't provide the Signals in the form of IDxx.SGyy, but rather they suggest to write a small piece of C++ and call the Signals "bool HasOpenAndCloseAbovePOC". There are twenty like this. I spent sometime looking into the SC C++ page, tried DIY way, but I failed to reach something that passes the test of the compiler :).

Anyone can please help correct his code for one variable? The objective is to get IDxx.SGyy of each boolean variable in the code.

Thanks

#include "sierrachart.h"
SCDLLName("SCTDUExample1")

SCSFExport scsf_TDUExample(SCStudyGraphRef sc)
{

bool HasOpenAndCloseAbovePOC
bool ...
etc.

}

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account