How can we get indicator of another indicator using Rules?
Author: sgubba
Creation Date: 2/12/2009 10:49 AM
profile picture

sgubba

#1
Developers/Gurus,

As end users, How can we set 'entry and exits' using drag and drop indicators? I wish there is a way to right click enabling on the indicator pane, to set buy and sell etc functionality. Probably this could be used for future versions of WLP.
profile picture

Eugene

#2
QUOTE:
How can we set 'entry and exits' using drag and drop indicators?

Do you mean Rules -> Conditions -> General Indicators ?
profile picture

sgubba

#3
For example QStick can be combined with another parameter (Blue/red), after combining then the combo indicator together with whatever we couple with, will become a new. On that at this time I am visually looking at placing order. But wish to create a script based on the combo indicator. I am interested in RSI after adding to another parameter. Hope this is clear. :)
profile picture

sgubba

#4
On the drawing objects, there is one thing called tradable trend line, which we drag on the the chart/price pane and set the parameters. Can we do that on to any pane? This should solve many questions for end users. :)
profile picture

Cone

#5
It's a limitation of the Rule Builder - you'd have to code that by hand. You can start with the wizard using the basic indicator and then edit the DataSeries parameter later.

For example, if you want a SMA of an RSI, code up the SMA, open the code in a Strategy Window for editing, and then pass the RSI.Series(Close, 14) in place of Close as the SMA DataSeries parameter.
profile picture

Cone

#6
QUOTE:
tradable trend line.. Can we do that on to any pane? This should solve many questions for end users.
No. Price Pane only. See User Guide.
profile picture

sgubba

#7
Thank you very much Cone and Eugene. I will try based on your info.
-SG
profile picture

sgubba

#8
"
For example, if you want a SMA of an RSI, code up the SMA, open the code in a Strategy Window for editing, and then pass the RSI.Series(Close, 14) in place of Close as the SMA DataSeries parameter. " -Cone

Seems little difficult for me. Could you give me a simple but complete script using RSI and SMA?
-SG
profile picture

Eugene

#9
CODE:
Please log in to see this code.
profile picture

sgubba

#10
Thank you Eugene. I will try this one.
profile picture

Cone

#11
squbba, make sure you understand the key point here. Instead of passing one of the standard series (Close, High, Volume, etc.) to the SMA.Series function, Eugene created another DataSeries called rsi. Once you have that, you only have to plug rsi into SMA.Series as you see above. That's all there is to it.
profile picture

sgubba

#12
Hi Cone,
Nice of you. Thanks and will read critically and will get back to you both.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).