Wma 5/20 - Ema - page 9

 

What time frame to use?

About tralingstop:

void TrailStop(string mySymbol) {

double StopLoss,trailing;//init variables

if ( TrailingStop>=8 ) {//ts lvl must be not less than 8 pips

trailing=TrailingStop*Point;//ts convert to pips

for (int i = 0; i < OrdersTotal(); i++) {//check every order

if ( OrderSelect (i, SELECT_BY_POS) == false ) continue;//no order - no action

if ( OrderSymbol() != mySymbol || OrderMagicNumber() != MAGICNUM ) continue;//if order was not open by EA - no action

if ( OrderType() == OP_BUY ) {

StopLoss = Bid-trailing;//count sl from current price

if ( StopLoss > OrderStopLoss() ) {//if we can move it to our profit than do it

OrderModify (OrderTicket(), OrderOpenPrice(), StopLoss, OrderTakeProfit(), 0, White);

}

}

if ( OrderType() == OP_SELL ) {

StopLoss = Ask+trailing;

if ( StopLoss < OrderStopLoss() ) {

OrderModify (OrderTicket(), OrderOpenPrice(), StopLoss, OrderTakeProfit(), 0, Gold);

}

}

}

}

return;

}

Yes I'm using that idea from some time - it has a weak points but for our system this could make a nice profit or protect. If we use that SL and TP like 10 pip this could be nice profit.

 
Kalenzo:
What time frame to use?

About tralingstop:

void TrailStop(string mySymbol) {

double StopLoss,trailing;//init variables

if ( TrailingStop>=8 ) {//ts lvl must be not less than 8 pips

trailing=TrailingStop*Point;//ts convert to pips

for (int i = 0; i < OrdersTotal(); i++) {//check every order

if ( OrderSelect (i, SELECT_BY_POS) == false ) continue;//no order - no action

if ( OrderSymbol() != mySymbol || OrderMagicNumber() != MAGICNUM ) continue;//if order was not open by EA - no action

if ( OrderType() == OP_BUY ) {

StopLoss = Bid-trailing;//count sl from current price

if ( StopLoss > OrderStopLoss() ) {//if we can move it to our profit than do it

OrderModify (OrderTicket(), OrderOpenPrice(), StopLoss, OrderTakeProfit(), 0, White);

}

}

if ( OrderType() == OP_SELL ) {

StopLoss = Ask+trailing;

if ( StopLoss < OrderStopLoss() ) {

OrderModify (OrderTicket(), OrderOpenPrice(), StopLoss, OrderTakeProfit(), 0, Gold);

}

}

}

}

return;

}

Yes I'm using that idea from some time - it has a weak points but for our system this could make a nice profit or protect. If we use that SL and TP like 10 pip this could be nice profit.

M30 timeframe. 5wma is crossing 50wma. Exit on the new signal or on trailing.

Everything is on previous closed bar.

 
newdigital:
Too early.

Now I am testing the second system with some small profit (and small loss as well).

Let's see.

I am using the same indicators. I made alert for wma_cross indicator and your trix is having alert as well. It is ok.

Well see.

I am using M30 timeframe, enter on closed (previous) bar and exit on closed (previuos) bar as well (1st closed bar).

An other half an hour.

I am continuing testing the second idea.

Files:
2121.gif  51 kb
 

Keep up good work, i will write EA when i will be at home.

 

An other half an hour.

I opened an other order.

And these two orders were not closed yet (because thee are no other signals and can not exit on T3 Trix now - no crossing).

Files:
2323.gif  52 kb
 

RU using TRIX alert?

I'm just curious does it work ?

 
Kalenzo:
RU using TRIX alert? I'm just curious does it work ?

Common Kalenzo,

It is your indicator with alert.

You posted it few posts above.

And to tell the truth I am not too far from your city.

 
newdigital:
An other half an hour.

I opened an other order.

And these two orders were not closed yet (because thee are no other signals and can not exit on T3 Trix now - no crossing).

And it is the second idea which was not established yet.

It is idea to have small profit and small losses.

The rules I posted in few posts above about trailing stop is the first idea to have big profit and let the price run.

So, I am testing the second idea. An other half an hour.

Files:
1_10.gif  52 kb
 
newdigital:
Common Kalenzo,

It is your indicator with alert.

You posted it few posts above.

Yep it is mine (just alert) but i was testing it for a short time so i wasn't sure if it works. Now i know lol

newdigital:
And to tell the truth I am not too far from your city.

Realy? So why don't u fill your account information?

 
Kalenzo:
Yep it is mine (just alert) but i was testing it for a short time so i wasn't sure if it works. Now i know lol Realy? So why don't u fill your account information?

I am not from your country (yet). But I visit your country very often. It is very closed to me.

Besides I should be the same for everybody. That is why I did not fill.

Reason: