Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 06:01:53 +0000



Post From: Moving average based on Closed Profit/Loss study

[2021-03-25 11:24:17]
jeden8l - Posts: 46
Hello SC.

I'm having a problem with SMA based on Closed Profit/Loss subgraph.

As far I looked this up it seems the SMA pulls data from each consecutive bar, not from every P/L change. This makes it almost precisely same SMA line as P/L line.

Here is the same backtest put on different timeframes:

http://www.sierrachart.com/image.php?Image=1616670620231.png
http://www.sierrachart.com/image.php?Image=1616670738528.png

Do I have to find coder able to pull Closed P/L data directly and make SMA out if this instead of pulling it from each bar?

I need a simple filter, this excel chart is a tick P/L with SMAx:

https://imgur.com/a/vYcbuzW

Exactly what I need in Sierra platform real time to be able to add a condition to CBBOAC.