Coding help - page 770

izzanaf
32
izzanaf  

Hi

I need help if somebody can coding this an indicator.

the rules is like this:

1. Use for H1 above but highly recommended to H4

2. Indicator will notify with alert when there are Candle Bullish break high Low candle bearish before or candle bearish break High Low candle Bullish before at least 1 pip

3. need also ability to send notification to hand phone.


Thank for your kindness

lana234
58
lana234  

Hi,

i want to ask, can i retract mail or delete my mail in my platform and his/her platform? like delete chat in App blackberry messenger.


Thanks a lot guys :)

maciel7000
89
maciel7000  
Greetings everyone,

Could anyone help me with this indicator that stopped working in the current version of MT4, please. Needs updating.

Thank you very much.
Files:
Mladen Rakic
181746
Mladen Rakic  
maciel7000:
Greetings everyone,

Could anyone help me with this indicator that stopped working in the current version of MT4, please. Needs updating.

Thank you very much.

That indicator did not stop working because of new mt4 version

It stopped working because somebody was doing a chopping job on it. Condition like this :

         if (rsi > 0) dUp=1; else dDn=1;

Is meaningless since rsi is 99.999999999% of time > 0. Chopping usually produces things like that - useless indicators that never could work as expected

nicholish en
2676
nicholish en  
Mladen Rakic:

That indicator did not stop working because of new mt4 version

It stopped working because somebody was doing a chopping job on it. Condition like this :

Is meaningless since rsi is 99.999999999% of time > 0. Chopping usually produces things like that - useless indicators that never could work as expected

Is it even possible for rsi to hit 0? 
Mladen Rakic
181746
Mladen Rakic  
nicholishen:
Is it even possible for rsi to hit 0? 

Of course that it can. There is no reason in the math that could prevent that - even the "regular" rsi - I mean the original Wilders RSI, is bouncing between 0 and 100 when period is set to 1


PS: you can not do that with the built in rsi - they can not handle period 1 for the rsi

maciel7000
89
maciel7000  
Mladen Rakic:

That indicator did not stop working because of new mt4 version

It stopped working because somebody was doing a chopping job on it. Condition like this :

Is meaningless since rsi is 99.999999999% of time > 0. Chopping usually produces things like that - useless indicators that never could work as expected

Mr. MLaden Rakic,

Thank you very muuuuuuuuch for your help !!
eric27009
5
eric27009  

Hi I opened a trade today and now every time im trying to close it i keep getting the same message **off quotes** what can i do?

Ashwani1976
7
Ashwani1976  

Hi coder please guide me how change my this code.

I want ea set one tp for last OPEN order for all my previous open order like this image.

if(use_auto_tp) tp_prev_f();



////////////////////////////////////////////////////////////////////
void tp_prev_f()
{
int type;
double prev_price=-1;
double prev_tp=-1;
bool first=false;
for (int i=0; i<OrdersTotal(); i++)
{
if(!OrderSelect(i,SELECT_BY_POS,MODE_TRADES)) continue;
if(OrderMagicNumber()!=Magic || OrderSymbol()!=Symbol()) continue;
if(!first)
{
first=true;
prev_price=OrderOpenPrice();
prev_tp=OrderTakeProfit();
continue;
}

type=OrderType();


if (type==OP_BUY)
{
if (Bid>=prev_price && OrderTakeProfit()<prev_tp)
{
if(OrderModify(OrderTicket(),OrderOpenPrice(),OrderStopLoss(),prev_tp,0,clrNONE)) continue;
}
}
else
if (type==OP_SELL)
{
if (Ask<=prev_price && OrderTakeProfit()>prev_tp)
{
if(OrderModify(OrderTicket(),OrderOpenPrice(),OrderStopLoss(),prev_tp,0,clrNONE)) continue;
}
}
}

Files:
Untitled.png 40 kb