KABIR IS ALMIGHTY GOD. RIGHT WAY OF WORSHIP=ROI, WRONG WAY OF WORSHIP=LOI
- #2,720
- Aug 5, 2013 10:45pm Aug 5, 2013 10:45pm
- Joined Jul 2011 | Status: Gold Again | 10,560 Posts
It takes a lot for me to IGNORE you, but you can try.
I will code your pivot EAs for no charge 28 replies
I will code your scalping EAs for no charge 163 replies
Oanda MT4 - Indicators and EAs not showing 2 replies
EAs and indicators relating to moutaki... 22 replies
InterbankFX has loaded its MT4 platform with custom EAs, indicators and scripts 1 reply
Disliked[ P.S: there's another improvement RLF which you could make for my script, The S/L needs to be entered, I wish it would accept the value "0" so it knows that I do not want to place any price for the S/L. Love it if you can adjust that for me Fred.Ignored
QuoteDislikedHi Fan, See if this is what you're looking for. Fred {file}
int CalculateCurrentOrders()
{
int pos=0;
for(int i=0;i<OrdersTotal();i++)
{
if(OrderSelect(i,SELECT_BY_POS,MODE_TRADES)==false) break;
if(OrderSymbol()==Symbol() )
{
if(OrderType()==OP_BUY) pos++;
if(OrderType()==OP_SELL) pos++;
}
}
return(pos);
} {
int counted_bars=IndicatorCounted();
int pos;
string OrderTyp = "OT";
string ottt;
color LabelColor3;
//----
for(int i=0;i<OrdersTotal();i++)
{
if(OrderSelect(i,SELECT_BY_POS,MODE_TRADES)==false) break;
if(OrderSymbol()==Symbol() )
{
if(OrderType()==OP_BUY) pos++;
if(OrderType()==OP_SELL) pos++;
}
}
if (OrderType()==OP_BUY) { ottt="Buy"; LabelColor3 = DodgerBlue; }
if (OrderType()==OP_SELL){ ottt="Sell"; LabelColor3 = Red; }
else ottt="";
ObjectCreate(OrderTyp, OBJ_LABEL, 0 , 0, 0, 0);
ObjectSet(OrderTyp, OBJPROP_CORNER, 1);
ObjectSet(OrderTyp, OBJPROP_XDISTANCE, 10);
ObjectSet(OrderTyp, OBJPROP_YDISTANCE, 15);
ObjectSetText(OrderTyp, "Order Type: "+ottt, 8, "Tahoma",LabelColor3);
//----
} DislikedHow to show order type (Sell/Buy) on chart? I want to show open position's type on chart. For example if current chart's position is short, then show "Sell" text on chart. (Just for open positions not pending) RegardsIgnored
Dislikedhi Tick indicator modify or new request i am looking for tick indicator modification from line to histogram attached indicator is tick on chart has line graph attached pic is i am looking to for please any one help to to modify or new indicator {image} {file}Ignored
Dislikedhi all, I was wondering if some would like to practice some scripting. Could someone please write an MT4 indicator that can draw support and resistance lines when 2 or more moving averages come together/cross on different time frames. I am currently using a 50, 100, 200 SMA (could be variable) and would like an indicator that displays nothing until a MA comes to within (variable) %age/pip'age of a MA on a different time frame, at which point it could display a trend line with (variable) color and line visualisation. to give a better example, atm...Ignored
DislikedHi, I am not a coder but im looking for a script that will open multiple pending orders. What I would like is 1. Open 6 lots, same size for all 6 orders, but variable from .1 lots up to full lot 2. Buy or Sell above and below market. Maybe one script for buy and one for sell 3. Enter the price for the pending orders 4. Same stop loss level for all orders, 35 pips but variable 5. Separate take profit for each order. 15 30 40 45 80 120/open target Input options would be to: Buy/Sell 6 lots at "input" size at "input" price Stop loss "input" pips...Ignored