|
srishail
2010-11-12 14:07:13
|
|
Guru i have one request,here we know how many downloads have taken place of uploded trading object,is it posible to know who had downloaded it,
so that we can interact
with them about that objects.
|
|
|
|
QuantShare
2010-11-13 06:12:22
0
|
|
In a trading object page, under the object title, you can find the author name.
|
|
|
|
srishail
2010-11-13 06:47:07
0
|
|
i mean not the uploader ,the one who download it .
|
|
|
|
srishail
2010-11-13 07:08:48
0
|
|
guru how to share the new created indicator, i am seeing it in my indicator list ,i copied it in script based indicator folder of particular account but i unable find it in sharing server list, i am able to see only what i downloaded from server.
|
|
|
|
QuantShare
2010-11-15 05:33:47
0
|
|
After you copy a file (trading item) manually you need to restart the application.
|
|
|
|
srishail
2010-11-15 07:51:01
0
|
|
guru i am talking about technical indicators ,i have them in formula folder i am not able to see in sharing server .
|
|
|
|
QuantShare
2010-11-15 09:20:59
0
|
|
This is because formulas cannot be shared. You can only share custom indicators created using Tools -> Custom Functions.
|
|
|
|
srishail
2010-11-15 09:43:36
0
|
|
but we could able see script based indicators list in shring server.can we convert .azf format to.qsa
|
|
|
|
QuantShare
2010-11-16 08:33:38
0
|
|
A script based indicator is a function that performs calculations and that can be used in QuantShare formulas.
here is an example on how to reference formulas from a script based indicator:
QSFormula formula = cFunctions.CompileFormula("a = rsi(14);");
result = formula.GetVectorDouble("a");
|
|
|
|
srishail
2010-11-16 08:53:48
0
|
|
Guru i am still confused , i just want to upload the formulas what i use in the chart pane for(edit formula section)
exa-
v1 = macd();
v3 = macdsignal(15);
v=ema(v1, v3);
plot(v, "parameter", colorRed, ChartSmoothLine, stylesymbolnone);
this i have saved in formula folder with some name.which is in.azf format i want this to be uploaded .Is it possible.
|
|
|
|
QuantShare
2010-11-16 09:06:09
0
|
|
It is not possible to upload formulas.
You can however upload an indicator that returns the value "v".
Example using your formula:
QSFormula formula = cFunctions.CompileFormula("v1 = macd();v3 = macdsignal(15);v=ema(v1, v3);");
result = formula.GetVectorDouble("v");
Now you can transform your formula to:
v = your_indicator();
plot(v, "parameter", colorRed, ChartSmoothLine, stylesymbolnone);
You cannot upload this formula, but you can share "your_indicator".
|
|
|
|
srishail
2010-11-16 09:56:56
0
|
|
Guru .wher this transform i have to do, i mean in edit formula section or script editors or custom drawing tools.
|
|
|
|
srishail
2010-11-16 12:00:26
0
|
|
ok i got i am doing it in create fuctions
|
|
|
|
srishail
2010-11-16 13:42:04
0
|
|
Guru i did what you said above i got, the end like you said(v = your_indicator();) but when i add it to pane it shows straight line but it shouldnt. when the same thing i put it in edit formula i get some thing else . i am bit confused, help me to learn.
|
|
|
|
QuantShare
2010-11-17 04:44:03
0
|
|
Please post the indicator script you have used
|
|
|
|
srishail
2010-11-17 05:51:41
0
|
|
// Study : vc
study = ema(PBbands(15), 15);
Plot(study, "vc", colorRed|156, ChartLine, StyleOwnScale);
Guru this is formula i used in edit formula section.
|
|
|
|
QuantShare
2010-11-17 05:56:36
0
|
|
I need the code of the custom indicator "PBbands".
|
|
|
|
srishail
2010-11-17 06:35:33
0
|
|
"maperiod = " + (int)Period[0] + ";dn = Bbandslower(maperiod, 2, _MaSma);up = BbandsUpper(maperiod, 2, _MaSma);a = (close - dn) / (up - dn);"
|
|
|
|
QuantShare
2010-11-18 04:37:48
0
|
|
Best Answer
The following script works:
QSFormula formula = cFunctions.CompileFormula("maperiod = " + (int)Period[0] + ";dn = Bbandslower(maperiod, 2, _MaSma);up = BbandsUpper(maperiod, 2, _MaSma);a = (close - dn) / (up - dn);");
result = formula.GetVectorDouble("a");
|
|
|
|