i need an alert that could tell me when to enter a trade when these 2 conditions are met: stochastic below level 30 and price below the daily pivot. These 2 conditions must be met at the same time i think about this solution it should be right?
static datetime LastClosedBar =D'1980.01.1';
StocCurrent=istocastic(NULL,NULL,12,26,9,PRICE_CLOSE,MODE_MAIN,0);
MaCurrent=iMA(NULL,0,MATrendPeriod,0,MODE_EMA,PRICE_CLOSE,0);
or custom indicator like pivot daily
IF ( StocCurrent <=30&&Bid<=MaCurrent && LastClosedBar != Time[0])
{
LastClosedbar = Time[0];
Alert("sAC (",Symbol(),", ",Period(),") - BUY!!!");
}
is better to do an EA, or script or something other to do that??
but the usual allert work a lot of time is possible to work just one time??
i think about this solution it should be right?
is better to do an EA, or script or something other to do that??
but the usual allert work a lot of time is possible to work just one time??