ObjectCreate?

 

Hi,


How can I place an Dot in a char just after openning/closing and order?

the horizontal coordinate will be the time and the vertical coordinate will be the ask/bid value

thanks

 
why you dont use the arrow in ordersend and orderclose ?
 

Read through your open and closed orders.

ObjectCreate() an arrow using the OrderOpenPrice() and OrderOpenTime().

.

What I do instead is draw a line - from open to close of the closed trades, and from the open to the currently

executable close price for trades in progress.

.

Color the lines according to profitability -- slope up on a short will be red, down is green,

slope up on a long it green, slope down is red.

 
phy:

Read through your open and closed orders.

ObjectCreate() an arrow using the OrderOpenPrice() and OrderOpenTime().

.

What I do instead is draw a line - from open to close of the closed trades, and from the open to the currently

executable close price for trades in progress.

.

Color the lines according to profitability -- slope up on a short will be red, down is green,

slope up on a long it green, slope down is red.

Thats nice.

I guess that your line is drawn after orderclose()

do you share your code so I dont have to "re-invent the wheel" ?


thanks

 
phy:

Read through your open and closed orders.

ObjectCreate() an arrow using the OrderOpenPrice() and OrderOpenTime().

.

What I do instead is draw a line - from open to close of the closed trades, and from the open to the currently

executable close price for trades in progress.

.

Color the lines according to profitability -- slope up on a short will be red, down is green,

slope up on a long it green, slope down is red.

Hi,

I've coded according to your idea, but How can I draw a line betwen the open and close?


The OBJ_TREND was my first choice, but I can't find an object type just to draw one line.


any help?

 

ObjectCreate(name, OBJ_TREND, ..., ...)

set the OBJ_RAY property to 0

 
phy:

ObjectCreate(name, OBJ_TREND, ..., ...)

set the OBJ_RAY property to 0


thanks phy

:)