Indicators: Nik_PSAR_2B

 

Nik_PSAR_2B:

Parabolic SAR for current TF and 3 next TFs with Alert. This indicator made by request of maks741 and with help of Nikolay.

Author: Leonid Basis

 
Excellent, tried to code this a while back but got stumped. Good work.
 
eagleye777:
Excellent, tried to code this a while back but got stumped. Good work.

Thank you and good luck in trade.
 
good work good indicator
 
Excellent work
 
lastman:
good work good indicator

Thank you and good luck in trade.
 
adaheem:
Excellent work

Thank you and good luck in trade.
 

Is it feasible add other 2-4 optionals psar for a total of 6-8 timeframes coverage?

If anyone can make an EA 4-5 digit compatible with integrated tp and trailing stop, and publish it, will be good work

An EA based on 'indicator, perhaps it might work better using optional filters for entry as can' be MACD, the entry with the MACD with the opposite direction (opposite to the direction of signal 'entry psar) are filtered.

p.s. if you scroll the graph at past, then appears visual errors indicator in the graph (arrows scattered everywhere). 

regards 

 

hi all...

based on this indicator, please help about the code for BUY/SELL in EA?

This code didn't work....

bool BuySignal()
{
double Low1=iLow(Symbol(),0,1);
double ArrowUp1=iCustom(Symbol(),0,"Nik_PSAR_2B",true,true,true,true,0.02,0.2,4,1);

if ( ArrowUp1>0 && ArrowUp1<Low1 )
return(true); else return(false);
}

bool SellSignal()
{
double High1=iHigh(Symbol(),0,1);
double ArrowDown1=iCustom(Symbol(),0,"Nik_PSAR_2B",true,true,true,true,0.02,0.2,5,1);

if ( ArrowDown1>0 && ArrowDown1>High1 )
return(true); else return(false);
}

 
HajarWae:

hi all...

based on this indicator, please help about the code for BUY/SELL in EA?

This code didn't work....

bool BuySignal()
{
double Low1=iLow(Symbol(),0,1);
double ArrowUp1=iCustom(Symbol(), 0,"Nik_PSAR_2B",true,true,true,true,0.02,0.2,4,1);

if ( ArrowUp1>0 && ArrowUp1<Low1 )
return(true); else return(false);
}

bool SellSignal()
{
double High1=iHigh(Symbol(),0,1);
double ArrowDown1=iCustom(Symbol(),0,"Nik_PSAR_2B",true,true,true,true,0.02,0.2,5,1);

if ( ArrowDown1>0 && ArrowDown1>High1 )
return(true); else return(false);
}



You are trying to go through a hard way.

Just use this kind of code in your EA


iSAR(Symbol(), Period_M5, 0.02, 0.2, 1);

iSAR(Symbol(), Period_M15, 0.02, 0.2, 1);

iSAR(Symbol(), Period_M30, 0.02, 0.2, 1);

iSAR(Symbol(), Period_H1, 0.02, 0.2, 1);

without an indicator "Nik_PSAR_2B"

 

I have roundvalue feature like to add,

such as at 1.26935 a selection of .002 will calculate basis at 1.27000, 1.26800 so on

I have the code and want to add it to your indicator, can you contact if you can edit,

Reason: