I'd like the ability in PowerLanguage to place text and graphics objects on subcharts that contain indicators.
Does anyone else think this has value ?
Is there any way this can be done now....via DLL's or other methods ?
Text, Arrows, Lines in Subcharts [SOLVED]
- TJ
- Posts: 7745
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
Re: Text, Arrows, Lines in Subcharts
I'd like the ability in PowerLanguage to place text and graphics objects on subcharts that contain indicators.
Does anyone else think this has value ?
Is there any way this can be done now....via DLL's or other methods ?
MultiCharts has this ability since . . . gawd . . . a long long time ago.
Please go to the Wiki and look up the respective keywords.
Re: Text, Arrows, Lines in Subcharts
So using Arw_New_self_s would do it ?
However, Arw_SetLocation_s (ObjectID, BarDate, BarTime_s, PriceValue)
indicates a Price, not an indicator value.
So this is confusing...as the arrow should be associated with the indicator value, not the price on the chart.
However, Arw_SetLocation_s (ObjectID, BarDate, BarTime_s, PriceValue)
indicates a Price, not an indicator value.
So this is confusing...as the arrow should be associated with the indicator value, not the price on the chart.
- TJ
- Posts: 7745
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
Re: Text, Arrows, Lines in Subcharts
So using Arw_New_self_s would do it ?
However, Arw_SetLocation_s (ObjectID, BarDate, BarTime_s, PriceValue)
indicates a Price, not an indicator value.
So this is confusing...as the arrow should be associated with the indicator value, not the price on the chart.
When you are creating an object (ie text, arrow, or trendline), you use the xx_NEW keyword.
for example:
Arw_New
Text_New_self
TL_New_BN
. . . .
etc.,
All the other keywords are used to modify the object's characteristics.
Please study all the "NEW" keywords to get yourself familiarize with their operations.
For more programming examples, please google and download one of the free ebooks on EasyLanguage.
See post #1
viewtopic.php?t=6929
Re: Text, Arrows, Lines in Subcharts
I understand all of that....but the implementation of arw_setlocation_s is the big issue....as a subchart with an indicator does not have price, only a value.
I'll test this weekend to see if it relates the price parameter to the corresponding indicator value.
I'll test this weekend to see if it relates the price parameter to the corresponding indicator value.
- TJ
- Posts: 7745
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
Re: Text, Arrows, Lines in Subcharts
No you don't.I understand all of that......
If you do, you will not have any problems.
These are not new. You are not the first person to use these features; they have been around for umpteenth umpteenth years.
They are not unusual or obscure keywords. Thousands of people are using these keywords on thousands and thousands of indicators every day.
My advice stands -- go read the definition and the accompanying examples.
Re: Text, Arrows, Lines in Subcharts [SOLVED]
No, I finally determined that the documentation for the SELF functions is confusing because it defines the parameter as being PRICE, but instead it's the INDICATOR VALUE that must be passed. Sheesh.....finally its working.
However, I have only 1 indicator in it's own subchart. What about the case where there are 2 indicators, each in their own subchart ?
There is no parameter for indicating which indicator gets the arrow.
However, I have only 1 indicator in it's own subchart. What about the case where there are 2 indicators, each in their own subchart ?
There is no parameter for indicating which indicator gets the arrow.