Coding help - page 552

 
freakout:
hello, I have a question how to enable these colorful labels with price at the right side of the chart?

freakout

Set the OBJPROP_BACK of each horizontal line to false, and then it will be visible

 
mladen:
freakout Set the OBJPROP_BACK of each horizontal line to false, and then it will be visible

ObjectCreate("fvoe_ol_" + oTicket,OBJ_HLINE,0,Time[0],oOpenPrice);

ObjectSet("fvoe_ol_" + oTicket,OBJPROP_COLOR,ol_sell_color);

ObjectSet("fvoe_ol_" + oTicket,OBJPROP_STYLE,ol_sell_style);

ObjectSet("fvoe_ol_" + oTicket,OBJPROP_BACK,false);

ObjectSetText("fvoe_ol_" + oTicket,

StringConcatenate("#",oTicket," ",orderName( oType )," ",DoubleToStr(oLots,2))

,11);

is this correct?

 
freakout:
ObjectCreate("fvoe_ol_" + oTicket,OBJ_HLINE,0,Time[0],oOpenPrice);

ObjectSet("fvoe_ol_" + oTicket,OBJPROP_COLOR,ol_sell_color);

ObjectSet("fvoe_ol_" + oTicket,OBJPROP_STYLE,ol_sell_style);

ObjectSet("fvoe_ol_" + oTicket,OBJPROP_BACK,false);

ObjectSetText("fvoe_ol_" + oTicket,

StringConcatenate("#",oTicket," ",orderName( oType )," ",DoubleToStr(oLots,2))

,11);

is this correct?

freakout

Yes, that is correct

 

Mladen,

Any updates on the modification of the percent wick indicator? Thank you.

mladen:
OK Will be made
Files:
 
mandagozu81:
Mladen, Any updates on the modification of the percent wick indicator? Thank you.

It will be done today

 

Ok thank you Mladen.

mladen:
It will be done today
 
mladen:
Steven Please let us know if nothing changed regarding your code postings

Hello mladen ,

Just want to double confirm with you .

Is that mean the both line of the code also need to change "OrdersTotal()>0 to OrdersTotal()>1" ?

--------------------------------------------------------------------------

(OrdersTotal()>0 && Profit_>0 && NetProfit()>=Profit_){

if (OrdersTotal()>0) CloseAll(0);

--------------------------------------------------------------------------

The last part still cant post it , may be i try to pm you , and you try to post it .

P.S - pm also cant send out .

 
stevenpun:
Hello mladen ,

Just want to double confirm with you .

Is that mean the both line of the code also need to change "OrdersTotal()>0 to OrdersTotal()>1" ?

--------------------------------------------------------------------------

(OrdersTotal()>0 && Profit_>0 && NetProfit()>=Profit_){

if (OrdersTotal()>0) CloseAll(0);

--------------------------------------------------------------------------

The last part still cant post it , may be i try to pm you , and you try to post it .

P.S - pm also cant send out .

Strange. Will ask the developers

________________

The code change : yes, on both places

 

How can I force data update for a chart that is not loaded?

 
apprentice coder:
How can I force data update for a chart that is not loaded?

apprentice coder

The simplest way would be to do something like this :

iMA(symbol,timeFrame,1,0,MODE_SMA,PRICE_CLOSE,0)

and that would cause a kind of a forced data download

Reason: