Printing Arrows & Text accurately.

Questions about MultiCharts and user contributed studies.
IT-Trader
Posts: 26
Joined: 22 Sep 2010
Has thanked: 4 times
Been thanked: 4 times

Printing Arrows & Text accurately.

Postby IT-Trader » 30 Nov 2011

I'm using the following command to draw an arrow:

Arw_New(Date,Time,H+1,True)

This draws a down arrow at 'date' and 'time'. All works well.
However, 'time' is only accurate to 1 minute, so if the bars are of less than a minute (e.g. fast printing tick charts), the arrow appears at the beginning of the minute, not on the bar that generated the signal. The same is true for 'Text_New' as well of course.

So, is there a command to say "print an arrow above the current bar'?

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Printing Arrows & Text accurately.

Postby TJ » 30 Nov 2011

I'm using the following command to draw an arrow:

Arw_New(Date,Time,H+1,True)

This draws a down arrow at 'date' and 'time'. All works well.
However, 'time' is only accurate to 1 minute, so if the bars are of less than a minute (e.g. fast printing tick charts), the arrow appears at the beginning of the minute, not on the bar that generated the signal. The same is true for 'Text_New' as well of course.

So, is there a command to say "print an arrow above the current bar'?
try this

Arw_New_S ( Date, Time_S, H+1, True );



ps. press [F1] to see the complete list of keywords by category

IT-Trader
Posts: 26
Joined: 22 Sep 2010
Has thanked: 4 times
Been thanked: 4 times

Re: Printing Arrows & Text accurately.

Postby IT-Trader » 30 Nov 2011

That's close enough, thanks for the quick reply TJ.

I do wish there was a pdf file I could print into some kind of reference manual that I could literally thumb through. Help files are great when you have some idea of what you're looking for but if you just want to browse, a paper copy is easier to work with.
That said, there are other things I'd sooner see MC staff work on, such as an 'undo' command!

Thanks again.

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Printing Arrows & Text accurately.

Postby TJ » 30 Nov 2011

That's close enough, thanks for the quick reply TJ.

I do wish there was a pdf file I could print into some kind of reference manual that I could literally thumb through. Help files are great when you have some idea of what you're looking for but if you just want to browse, a paper copy is easier to work with.
That said, there are other things I'd sooner see MC staff work on, such as an 'undo' command!

Thanks again.
You can always press the print button to make yourself a hard copy.
All the explanations, usages, and examples are there.

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: Printing Arrows & Text accurately.

Postby JoshM » 02 Dec 2011

I do wish there was a pdf file I could print into some kind of reference manual that I could literally thumb through. Help files are great when you have some idea of what you're looking for but if you just want to browse, a paper copy is easier to work with.
That said, there are other things I'd sooner see MC staff work on, such as an 'undo' command!
Do you mean something like the EasyLanguage Reference Manual (PDF)? Perhaps a little bit too much to print, but the PDF versions (see also the pdfs here) are quite handy to search through with Ctrl - F.

Regards,
Josh

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Printing Arrows & Text accurately.

Postby TJ » 02 Dec 2011

The new MultiCharts enhanced Easylanguage keywords are not in the TS reference manual.

We are in the real-time age now....
with the speed and multitude of enhancements in every release,
the best source of info is the [F1] key.

Image
Attachments
arrow drawing.gif
(21.15 KiB) Downloaded 513 times


Return to “MultiCharts”