View previous topic :: View next topic |
Author |
Accessing OHLC values in custom indicators.. |
ProTrader Site Admin
Joined: 06 Jul 2008 Posts: 433
|
Post: #1 Posted: Tue May 22, 2012 12:59 am Post subject: Accessing OHLC values in custom indicators.. |
|
|
Hi Folks:
Let me start this. I hope you are going to make it very rich.
To plot a simple line series, (HIGH+LOW) / 2. (I am using this as this was requested by one of the members). This is what the script should be:
SET A = HIGH
SET B = LOW
SET C = (A+B) / 2
Line C will be plotted. You have options to have it plotted on update of every tick or every bar. In the upper area or lower area. You can also select the color of the line.
Regards,
ProTrader |
|
Back to top |
|
|
|
|
umesh1 Brown Belt
Joined: 24 Nov 2008 Posts: 1974
|
Post: #2 Posted: Tue May 22, 2012 8:05 am Post subject: |
|
|
PT Sir
Is this indicator in platinum or in J charts as well
Regards |
|
Back to top |
|
|
ProTrader Site Admin
Joined: 06 Jul 2008 Posts: 433
|
Post: #3 Posted: Tue May 22, 2012 2:04 pm Post subject: |
|
|
Dear Umesh:
Only in Platinum.
Thanks..PT |
|
Back to top |
|
|
ven657 White Belt
Joined: 21 Oct 2009 Posts: 51
|
Post: #4 Posted: Wed May 23, 2012 5:30 pm Post subject: Re: Accessing OHLC values in custom indicators.. |
|
|
ProTrader wrote: | Hi Folks:
Let me start this. I hope you are going to make it very rich.
To plot a simple line series, (HIGH+LOW) / 2. (I am using this as this was requested by one of the members). This is what the script should be:
SET A = HIGH
SET B = LOW
SET C = (A+B) / 2
Line C will be plotted. You have options to have it plotted on update of every tick or every bar. In the upper area or lower area. You can also select the color of the line.
Regards,
ProTrader |
Can you please give the full script for plotting c in the upper area, and lower area, and how to select the line colour. |
|
Back to top |
|
|
ProTrader Site Admin
Joined: 06 Jul 2008 Posts: 433
|
Post: #5 Posted: Wed May 23, 2012 6:16 pm Post subject: |
|
|
That is the full script. Let me post with pictures ...as they say a thousand words . |
|
Back to top |
|
|
pattiboy02 White Belt
Joined: 16 Mar 2009 Posts: 220
|
Post: #6 Posted: Fri Aug 03, 2012 6:20 pm Post subject: |
|
|
ProTrader wrote: | That is the full script. Let me post with pictures ...as they say a thousand words . |
PT sir
I need some help in platinum in following segments:
Tools >>Alerts and custom indicators.
Scanner >> scan manager
your link http://www.icharts.in/forum/documentation-f45.html does provide Scripting Language for Platinum Charts but not about where and how to use it in platinum charts.
I'm finding it difficult to apply same in above mentioned menu buttons.
Kindly help us out how to use scripting in setting alerts, custom indicators and scan manager.
Ashish |
|
Back to top |
|
|
ven657 White Belt
Joined: 21 Oct 2009 Posts: 51
|
Post: #7 Posted: Fri Apr 26, 2013 4:43 pm Post subject: Pivotal moving average |
|
|
can i have a script for pivotal cross over moving average.
Last candle pp and average of last 3 candles.
PP = (H+L+C)/3
PP3 = (PP1+PP2+PP3)/3
now a script for simple moving average cross over for both PP & PP3
will be great.
PP line is red
PP3 line is green
The chart will appear for all time frames if the indicator is chosen.
Premium or platinum where ever the script can be added will be great. |
|
Back to top |
|
|
kamal.icharts Site Admin
Joined: 10 Apr 2013 Posts: 576
|
Post: #8 Posted: Mon Apr 29, 2013 4:47 pm Post subject: Re: Pivotal moving average |
|
|
Dear Member,
Currently it is not possible to script for Pivot Points for intraday. We will see if we can do something in this regard, in future.
Regards
Kamal
ven657 wrote: | can i have a script for pivotal cross over moving average.
Last candle pp and average of last 3 candles.
PP = (H+L+C)/3
PP3 = (PP1+PP2+PP3)/3
now a script for simple moving average cross over for both PP & PP3
will be great.
PP line is red
PP3 line is green
The chart will appear for all time frames if the indicator is chosen.
Premium or platinum where ever the script can be added will be great. |
|
|
Back to top |
|
|
|