Position Indicators

 

Dears,

Anybody has indicators that can show the total BUY and SELL positions on the chart separately? Or somebody can make ones? Please.

Regard,

axadnan

 
axadnan wrote >>

Dears,

Anybody has indicators that can show the total BUY and SELL positions on the chart separately? Or somebody can make ones? Please.

Regard,

axadnan

iexposure already does that for you. It comes with your MT4 platform, find it under custom indicators, "IExposure".

 
c0d3 wrote >>

iexposure already does that for you. It comes with your MT4 platform, find it under custom indicators, "IExposure".

Thanks for that, but I want with separate written for BUY and SELL. Like BUY: 4 and SELL: 3 and so on.

thanks,

axadnan

 

Dear MQL4 members

hello

I want a modified version of "iExposure" to draw a line on the corresponding chart according to average price of positions and prints the average value and total volume above the line, it may look like attached picture.

anybody has it,please upload here or anybody can modify original iExposure to function as explained.

thanks and good luck trading

Victor Tavana

 
victor1967:

[...] it may look like attached picture.

[...]

Victor Tavana


nice picture
 
qjol:

nice picture


sorry,,,for some internet problems, at first it wasn't attached,,,it is attached now. ;)

regards

Victor Tavana

 
         if (ExtSymbols[i] == Symbol())
            {
            if (OrderType() == OP_BUY)
               {
               ObjectCreate("Buy_Line",OBJ_HLINE,0,0,buy_price);
               ObjectSet("Buy_Line",OBJPROP_STYLE,2);
               ObjectSet("Buy_Line",OBJPROP_WIDTH,1);
               ObjectSet("Buy_Line",OBJPROP_COLOR,ExtColor);
               ObjectCreate("Buy_Average",OBJ_TEXT,0,0,0);
               ObjectSet("Buy_Average",OBJPROP_TIME1,Time[5]);
               ObjectSet("Buy_Average",OBJPROP_PRICE1,buy_price);
               ObjectSetText("Buy_Average",DoubleToStr(buy_lots,2) + " lot @ " + DoubleToStr(buy_price,digits),10,"Arial",ExtColor);
               }
            if (OrderType() == OP_SELL)
               {
               ObjectCreate("SEll_Line",OBJ_HLINE,0,0,sell_price);
               ObjectSet("Sell_Line",OBJPROP_STYLE,2);
               ObjectSet("Sell_Line",OBJPROP_WIDTH,1);
               ObjectSet("Sell_Line",OBJPROP_COLOR,ExtColor);
               ObjectCreate("Sell_Average",OBJ_TEXT,0,0,0);
               ObjectSet("Sell_Average",OBJPROP_TIME1,Time[5]);
               ObjectSet("Sell_Average",OBJPROP_PRICE1,sell_price+300*Point);
               ObjectSetText("Sell_Average",DoubleToStr(sell_lots,2) + " lot @ " + DoubleToStr(sell_price,digits),10,"Arial",ExtColor);
               }
            }
 
qjol:


hi gjol

thank you for adding codes, but I dont know how to use it. I have no idea about coding

I am a good driver,but I don't know how to repair engine.

would you please do it for me

thanks again

Victor Tavana

 

i left something for u 2

 
qjol:

i left something for u 2


thank you very much for your help, but as I said I don't know programming.

and also no will to learn it. I have no background in this field.

best

Victor Tavana