Place text at order entry/exit bar
Posted: Aug 06 2013
Hi,
I am new to EasyLanguage, I have some logic that determines when to long (as below), and would like to also place the entry price at that bar (since order label cannot be dynamic).
However, the text is placed on every bar after the condition is true, which makes me really puzzled
Order is not entered multiple times though.
Is that because my max position is 1?
Or somehow because Text_New is a series function?
Sorry if this sounds very primitive.
Thanks!
if Close crosses over UpperBand then
Buy ( "SVE Vol LE" ) next bar market ;
Value2 = Text_New(Date, Time, Low, NumToStr(EntryPrice, 0));
I am new to EasyLanguage, I have some logic that determines when to long (as below), and would like to also place the entry price at that bar (since order label cannot be dynamic).
However, the text is placed on every bar after the condition is true, which makes me really puzzled
Order is not entered multiple times though.
Is that because my max position is 1?
Or somehow because Text_New is a series function?
Sorry if this sounds very primitive.
Thanks!
if Close crosses over UpperBand then
Buy ( "SVE Vol LE" ) next bar market ;
Value2 = Text_New(Date, Time, Low, NumToStr(EntryPrice, 0));