Qtstalker formula help please

#1
Hi,
I have discovered Qtstalker for Linux, and I would love to escape from Windows!
But I am having trouble finding how to write backtest and scanning rules for Qtstalker, other than the almost useless explanations (for a novice like me) at sourceforge
Is there somebody here who can please help?
I would really like to know how to reference previous days' prices.
For example:
how would I write a condition that today's close is less than yesterday's close?

Thank you

EDIT: I think I have to write Close1 := Close(Ref,1)
but HOW and WHERE do I actually write it?
 
Last edited:
#3
Thank you so much for your reply Sudris.
Yes, I have been to those sourceforge pages, but they both assume the reader has a level of basic knowledge which is more than I have.
I looked at the tadoc link that you sent and that also is addressed at people who know a lot more about programming than I do.
Do you know anywhere that has basic introductory information for backtesting?
For example, after about an hour, I worked out how to get the backtesting window open, (the one that shows the four categories of OPEN LONG, CLOSE LONG, OPEN SHORT, CLOSE SHORT) but I have tried for many frustrating hours to just get some text written in the OPEN LONG pane, and I can't figure out how to even do that. That seems like it should be a pretty easy thing to figure out and do!!!! But I can't! My fingers are sore from right clicking and double-clicking on every pixel on the screen, ten times over.
Also, I don't know if this matters, but the sourceforge links you sent are for version .37. I only have the version that you can get through the Ubuntu Software Manager, which is something around version 0.32.
 

sudris

Well-Known Member
#4
Thank you so much for your reply Sudris.
Yes, I have been to those sourceforge pages, but they both assume the reader has a level of basic knowledge which is more than I have.
I looked at the tadoc link that you sent and that also is addressed at people who know a lot more about programming than I do.
Do you know anywhere that has basic introductory information for backtesting?
For example, after about an hour, I worked out how to get the backtesting window open, (the one that shows the four categories of OPEN LONG, CLOSE LONG, OPEN SHORT, CLOSE SHORT) but I have tried for many frustrating hours to just get some text written in the OPEN LONG pane, and I can't figure out how to even do that. That seems like it should be a pretty easy thing to figure out and do!!!! But I can't! My fingers are sore from right clicking and double-clicking on every pixel on the screen, ten times over.
Also, I don't know if this matters, but the sourceforge links you sent are for version .37. I only have the version that you can get through the Ubuntu Software Manager, which is something around version 0.32.
well if you have null programming background, not even basic then it is slightly difficult.
but if the documentation is in a simplified language and with examples illustrated, you can definitely get through the coding part and its levels.
I would suggest you to try Amibroker. it has this afl coding wizard which can get you started with simple variables and conditions in plain layman language. In addition, the documentation of Amibroker is quite explanatory which could be used as a resource for learning. Take some examples in the Amibroker section of this site, etc
once you are familiar with the afl, do your backtesting in Amibroker. by this time you would be a decent programmer and can move on with Qt for realtime signals and trading. Qt language will be more or less similar with few variable and function names distinct.

in short, there is no shortcut if you want to do it yourself.
 

Similar threads