I did ask for a state, not 7 screenshots of how it should open...
And there's not just one indicator, but as far as I can see from the screenshots, not less than 8 :)) there's 1 or 2 more in the sub-windows and on the chart ;)
Не пойму что надо, там описана система, её надо автоматизировать. Я в этом - небельмеса.
Sorry, but what's the point of me writing an EA on a losing system? Here, I'd like to make sure it's not for nothing :) It's not like it's a 15 minute job ;)
Могу только заслать индикаторы, а вы сами посмотрите.
Alas, when you have a straight on this system, then you can contact me and I will write. If I'm not mistaken, this system is on forexsystem, there are enough people there who can write. Maybe here, too, some volunteer will be found ;).
privet ne could dobavit Take Profit posmotrite i pomogite yesli eto vozmojno
#include <stdlib.mqh> #include <stderror.mqh>
extern double Lots=10; extern int TralUp=11; extern int EnterFiltr=6; extern int InHistory=5; extern double SL=0; int StopLev; int Tral; double MA, MAP; double Hich, Loch; int i, CurTot, StopTot;
int start() { StopLev=MarketInfo(Symbol(),MODE_STOPLEVEL); Tral=StopLev+TralUp; CurTot=0; StopTot=0; for (i=0;i<OrdersTotal();i++) { OrderSelect(i,SELECT_BY_POS,MODE_TRADES); if ((Symbol()==OrderSymbol())&&(OrderMagicNumber()==753)&&((OrderType()==OP_BUY)||(OrderType()==OP_SELL))) { CurTot++; if (OrderType()==OP_BUY) { if ((OrderOpenPrice()+Tral*Point)<Bid) { if ((OrderTakeProfit()+Tral*Point)<Bid) {OrderModify(OrderTicket(),OrderOpenPrice(),Bid-Tral*Point,Bid+Tral*Point,OrderExpiration(),CLR_NONE);} } } if (OrderType()==OP_SELL) { if (Ask<(OrderOpenPrice()-Tral*Point)) { if (Ask<(OrderTakeProfit()-Tral*Point)) {OrderModify(OrderTicket(),OrderOpenPrice(),Ask+Tral*Point,Ask-Tral*Point,OrderExpiration(),CLR_NONE);} } } } if ((Symbol()==OrderSymbol())&&(OrderMagicNumber()==753)&&(OrderType()>1)) {StopTot++;} } for (i=0;i<OrdersTotal();i++) { OrderSelect(i,SELECT_BY_POS,MODE_TRADES); if ((CurTot>0)&&(Symbol()==OrderSymbol())&&(OrderMagicNumber()==753)&&(OrderType()>1)) {OrderDelete(OrderTicket())} } if ((CurTot==0)&&(StopTot==0)) {OpenOrders();} return(0); }
нужно добавить звуковой сигнал - при пересечении линий(красной синюю) а также в
углу графика информация. ПРИМЕР( сигнал buy, стрелка вверх и период М5 ), дальше - если подтвердился сигнал на М15 то звуковой сигнал и информация
пример ( потверждение buy, стрелка вверх и период М15)
также и на М30 и H1 .H4 . В случае появления противоположного сигнала по М5 информация (сигнал ВНИЗ, стрелка, период)
А в самом индекаторе ( на каждом периуде в отделиности ) ставилась маленькая точечка при пересечении линий!! Буду очень признателен за помощь, и потраченое время !!!СПАСИБО!!
Hello. I need an advisor. In a nutshell: I haven't calculated everything yet, but the figure is roughly as follows. For 150-200 profits there are 50 losses. The lot is the same. Trading conditions should be as follows: flat market, spread not larger than 0.5 points (for example, Nord Markets). I may be mistaken, i.e. i can use the daily market too. I have no time to analyze everything. If I am interested, I will send you everything in my personal message. If you are interested, I will send you in my personal message.
Write an Expert Advisor that will expose the order of buy and sell, (triggering one of the orders automatically put the second after a certain number of points with double the lot, etc., but without stop lots and text profit.If you want to get a better idea of the situation read "LAVINA" below.
int period_MA1 =5; int period_MA2 =7; int ma_method =0;//0-4 int applied_price = 0;//0-6 int period_RSI = 5; int applied_RSI = 0;//0-6
datetime LastTime=0;
A trailing stop, which would set a stop loss at 15-20 points of price going to + and turn off. Also we need to make the deal close on the next signal, but take profit opportunities should remain and be switched off and on when needed.
А такое сможет кто-нибудь реализовать бесплатно?
I can do it... Really, if you show me the state on this system (profitable, of course, and not in one week:)) I mean, not with 10-20 tears.)
Только это, есть индикатор.
I did ask for a state, not 7 screenshots of how it should open...
And there's not just one indicator, but as far as I can see from the screenshots, not less than 8 :)) there's 1 or 2 more in the sub-windows and on the chart ;)
Не пойму что надо, там описана система, её надо автоматизировать. Я в этом - небельмеса.Sorry, but what's the point of me writing an EA on a losing system? Here, I'd like to make sure it's not for nothing :) It's not like it's a 15 minute job ;)
Могу только заслать индикаторы, а вы сами посмотрите.Alas, when you have a straight on this system, then you can contact me and I will write. If I'm not mistaken, this system is on forexsystem, there are enough people there who can write. Maybe here, too, some volunteer will be found ;).
but I don't think so...
;)
ne could dobavit Take Profit
posmotrite i pomogite yesli eto vozmojno
#include <stdlib.mqh>
#include <stderror.mqh>
extern double Lots=10;
extern int TralUp=11;
extern int EnterFiltr=6;
extern int InHistory=5;
extern double SL=0;
int StopLev;
int Tral;
double MA, MAP;
double Hich, Loch;
int i, CurTot, StopTot;
int OpenOrders()
{
Hich=High[Highest(Symbol(),NULL,MODE_HIGH,InHistory,0)]+(EnterFiltr+MarketInfo(Symbol(),MODE_SPREAD))*Point;
Loch=Low[Lowest(Symbol(),NULL,MODE_LOW,InHistory,0)]-EnterFiltr*Point;
OrderSend(Symbol(),OP_BUYSTOP,Lots,Hich,3,Hich-SL*Point,0,NULL,753,0,CLR_NONE);
OrderSend(Symbol(),OP_SELLSTOP,Lots,Loch,3,Loch+SL*Point,0,NULL,753,0,CLR_NONE);
// OrderSend(Symbol(),OP_SELLLIMIT,Lots,Bid+EnterFiltr*Point,3,Ask+2*EnterFiltr*Point,0,NULL,753,0,CLR_NONE);
// OrderSend(Symbol(),OP_BUYLIMIT,Lots,Ask-EnterFiltr*Point,3,Bid-2*EnterFiltr*Point,0,NULL,753,0,CLR_NONE);
return(0);
}
int start()
{
StopLev=MarketInfo(Symbol(),MODE_STOPLEVEL);
Tral=StopLev+TralUp;
CurTot=0;
StopTot=0;
for (i=0;i<OrdersTotal();i++)
{
OrderSelect(i,SELECT_BY_POS,MODE_TRADES);
if ((Symbol()==OrderSymbol())&&(OrderMagicNumber()==753)&&((OrderType()==OP_BUY)||(OrderType()==OP_SELL)))
{
CurTot++;
if (OrderType()==OP_BUY)
{
if ((OrderOpenPrice()+Tral*Point)<Bid)
{
if ((OrderTakeProfit()+Tral*Point)<Bid) {OrderModify(OrderTicket(),OrderOpenPrice(),Bid-Tral*Point,Bid+Tral*Point,OrderExpiration(),CLR_NONE);}
}
}
if (OrderType()==OP_SELL)
{
if (Ask<(OrderOpenPrice()-Tral*Point))
{
if (Ask<(OrderTakeProfit()-Tral*Point)) {OrderModify(OrderTicket(),OrderOpenPrice(),Ask+Tral*Point,Ask-Tral*Point,OrderExpiration(),CLR_NONE);}
}
}
}
if ((Symbol()==OrderSymbol())&&(OrderMagicNumber()==753)&&(OrderType()>1)) {StopTot++;}
}
for (i=0;i<OrdersTotal();i++)
{
OrderSelect(i,SELECT_BY_POS,MODE_TRADES);
if ((CurTot>0)&&(Symbol()==OrderSymbol())&&(OrderMagicNumber()==753)&&(OrderType()>1)) {OrderDelete(OrderTicket())}
}
if ((CurTot==0)&&(StopTot==0)) {OpenOrders();}
return(0);
}
zaraneye sapasibo!
нужно добавить звуковой сигнал - при пересечении линий(красной синюю) а также в
углу графика информация. ПРИМЕР( сигнал buy, стрелка вверх и период М5 ), дальше - если подтвердился сигнал на М15 то звуковой сигнал и информация
пример ( потверждение buy, стрелка вверх и период М15)
также и на М30 и H1 .H4 . В случае появления противоположного сигнала по М5 информация (сигнал ВНИЗ, стрелка, период)
А в самом индекаторе ( на каждом периуде в отделиности ) ставилась маленькая точечка при пересечении линий!! Буду очень признателен за помощь, и потраченое время !!!СПАСИБО!!
kim1983 писал(а) >>
extern double TP = 80;
extern double SL = 25;
extern double Lots = 0.01;
extern int shif =1;
int period_MA1 =5;
int period_MA2 =7;
int ma_method =0;//0-4
int applied_price = 0;//0-6
int period_RSI = 5;
int applied_RSI = 0;//0-6
datetime LastTime=0;
A trailing stop, which would set a stop loss at 15-20 points of price going to + and turn off.
Also we need to make the deal close on the next signal, but take profit opportunities should remain and be switched off and on when needed.