Login Page - Create Account

Support Board


Date/Time: Sun, 29 Dec 2024 15:17:02 +0000



ACSIL : MoneyFlow

View Count: 898

[2016-05-16 11:37:21]
User970904 - Posts: 9
I get number of arguments error (3 exp), however i'm using autoloop = 0;


sc.ChaikinMoneyFlow(sc.BaseDataIn[SC_LAST], sc.Subgraph[5], Index, 14);

Works fine for other studies:

sc.SimpleMovAvg(sc.BaseDataIn[SC_LAST], sc.Subgraph[4], Index, 55);

what i'm doing wrong ?

Edit:

i also noticed that MoneyFlowIndex is not available as study in ASCIL ? Only ChaikinMoneyFlow is listed.
Date Time Of Last Edit: 2016-05-16 11:47:20
[2016-05-16 18:04:55]
Sierra Chart Engineering - Posts: 104368
This is the declaration:

SCFloatArrayRef ChaikinMoneyFlow(SCBaseDataRef BaseDataIn, SCSubgraphRef Out, int Index, int Length)

Therefore, you need to use:

sc.ChaikinMoneyFlow(sc.BaseDataIn, sc.Subgraph[5], Index, 14);
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2016-05-17 06:09:48]
User970904 - Posts: 9
ty,

but is there a MoneyFlowIndex function available ?
[2016-05-17 06:24:27]
Sierra Chart Engineering - Posts: 104368
No there is not. You just need to include the source code in your CPP file and make a direct call to it.

It is located in Studies3.cpp.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account