| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #1 | ||
![]() | ARW_new (MultiCharts) Arw_New Displays an object, consisting of an up or a down arrow located at the specified bar and specified price value, on the chart that the study is based on; returns an object-specific ID number, required to modify the object. Usage Arw_New (BarDate, BarTime, PriceValue, Direction) Parameters BarDate - a numerical expression specifying the date of the bar at which the object is to be placed; the date is indicated in the YYYMMdd format, where YYY is the number of years since 1900, MM is the month, and dd is the day of the month BarTime - a numerical expression specifying the time of the bar at which the object is to be placed; the time is indicated in the 24-hour HHmm format, where 1300 = 1:00 PM PriceValue - a numerical expression specifying the price value (vertical position, corresponding to a value on the price scale of a chart), where the object is to be placed Direction - a logical expression specifying the direction of the arrow; True = Down and False = Up Example Place, on the chart that the study is based on, an up arrow at the top of a bar if the Open price has increased incrementally over the last three bars: If Open>Open[1] And Open[1]>Open[2] Then Value1 = Arw_New(Date, Time, High, False); ---------------------------------------------------------------------------- Arw_New_self Displays the arrow on the SubChart. | ||
| |
|
| The Following 5 Users Say Thank You to Tams For This Useful Post: | ||
| | #2 | ||
![]() | Re: ARW_new (MultiCharts) Arw_New_s Arw_New_self_s Arw_Delete Arw_SetColor Arw_SetLocation Arw_SetLocation_s Arw_SetSize Arw_SetStyle Arw_SetText Arw_SetTextAttribute Arw_SetTextBGColor Arw_SetTextColor Arw_SetTextFontName Arw_SetTextSize | ||
| |
|
| The Following User Says Thank You to Tams For This Useful Post: | ||
| | #3 | ||
![]() | Re: ARW_new (MultiCharts) The arrow is placed when the short term moving average crosses the long term moving average. | ||
| |
|
| The Following 4 Users Say Thank You to Tams For This Useful Post: | ||
| | #4 | ||
![]() | Re: ARW_new (MultiCharts) // date: 20090516 // added all formatting possibilities | ||
| |
|
| The Following 3 Users Say Thank You to aaa For This Useful Post: | ||
| | #5 | ||
![]() | Re: ARW_new (MultiCharts) May I ask a question ? After that avg.st crossed above avg.lt how to compute x points above the X and draw an other arrow? Pseudo Code if avg.st crosses above avg.lt = OK if price > (OK + 3 points) then id.arw = ARW_new(date, time, OK + 3 points [1], false); if price > (OK + 5 points) then id.arw = ARW_new(date, time, OK + 5 points [1], false); | ||
| |
|
| | #6 | ||
![]() | Re: ARW_new (MultiCharts) if you want another arrow on the same bar, you have to define another ID. e.g. var: id.arw2(-1); id.arw2 = ARW_new(date, time, OK + 3 points [1], false); Last edited by Tams; 05-16-2009 at 06:02 PM. | ||
| |
|
| | #7 | ||
![]() | Re: ARW_new (MultiCharts) ...number converted to text... then added to the arrow. Last edited by Tams; 05-16-2009 at 06:58 PM. | ||
| |
|
| The Following 3 Users Say Thank You to Tams For This Useful Post: | ||
![]() |
| Tags |
| arrow, easylanguage, moving average, trendline |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Connecting OEC to MultiCharts | spyro | Open E Cry | 13 | 12-08-2009 04:58 AM |
| MultiCharts Going GOLD Soon ! | Tams | Brokers and Data Feeds | 16 | 05-27-2009 08:56 AM |
| Help Converting EFS to MultiCharts | rdkyote | Coding Forum | 3 | 11-03-2008 10:41 AM |
| Multicharts | ptop | Beginners Forum | 8 | 11-04-2007 06:38 AM |
| MultiCharts and OpenECry data | brownsfan019 | Brokers and Data Feeds | 0 | 05-07-2007 08:04 PM |