[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing Objects from EasyLanguage



PureBytes Links

Trading Reference Links

The way I have found this to work properly is that in addition to using the
"value1 = text_new" statement, you should also plot a dot somewhere above
the text_new statement.  Here is an example...

value1 = text_new(date,time,high + .50,"x");
plot1(high + 1.00,"");

What this will do is plot a dot even higher than your text_new statement,
therefore your text_new statement will never get cut off.

Hope this helps.

Jay Becker

Michael Chen wrote:

> Hi all,
>
> What I want is to place the text object above the close price at certain
> distance (pixels?). The previous disscusion give me the following code:
>
>         Value1 = Text_New(Date, Time, Close + .5, "Buy Here!");
>
> However, the 0.5 offset will place the text out of the screen for some
> markets, and mess with the position and contracts symbols in other
> markets.
>
> Can the EL find the offset automatically for different markets? I know
> this can be done if you know the screen scalings (the maximum and
> minimum). It showed on the Scaling Tab of Format Price Data. But I don't
> know how get it from EL.
>
> Thanks,
>
> Michael Chen
> mailto:mchen@xxxxxxxxxxxx