Parabolic SAR

sagarsethy
Can anyone let me know how to calculate parabolic sar?
  • trade_then
    I am from .net world but
    since Java and C# are similar being C - family languages. might give you logical headway on PSAR
    then perphaps you could translate it in java.

    For C# version, since we are not using chart data but tick data. value can be sent in to this
    indicator like below.

    val being anything like LTP or Bids[0].Price or Offers[0].Price. etc.


    var a = new TradeBar( DateTime.Now,
    QuantConnect.Symbol.Empty,
    val,
    val,
    val,
    val,
    0 );
    innerPsar.Update( a ) ;


    Thanks
    Regards
Sign In or Register to comment.