u want add or subtract a 'price' increment to cause object go where u want in Y direction eg, if gbp/usd then price+0.0002
that idea behind it all...
//be sure make justAbove to Normalized value associated with symbol using
in ObjectCreate(...,price+justAbove);
or "-justAbove if below
maybe this help
u want add or subtract a 'price' increment to cause object go where u want in Y direction eg, if gbp/usd then price+0.0002
that idea behind it all...
//be sure make justAbove to Normalized value associated with symbol using
in ObjectCreate(...,price+justAbove);
or "-justAbove if below
maybe this help
Thank you fbj. This works and it makes sense.
The following code places the wingding character on top of the previous candlestick (although maybe there is better/simpler code I haven't yet figured out).
How do I place the wingding character just above the body of a selected candlestick?
int start()
{
//Set text
string objName = "Bullseye";
if (ObjectFind(objName) != -1)
{
ObjectDelete(objName);
}
double price = High[1];
ObjectCreate(objName, OBJ_TEXT, 0, Time[1], price);
ObjectSetText(objName, CharToStr(164), 16, "Wingdings", Red);
return(0);
}