OPEN-SOURCE SCRIPT
Telah dikemas kini Price Action Signals

Indicator that shows buy/sell signals based on price action as it relates to a 20 day moving average. If the candle is above the 20 day moving average, we look for candles with long wicks on the top indicating selling pressure. If the candle is below the 20 day moving average we look for candles with a long bottom wick indicating buying pressure. The rules for the wick and the price action can be modified by the user. The two user defined parameters are price movement and wick length.
For instance, the user can choose to only show arrows when candle has moved by X amount. The smaller the timeframe, the smaller the amount. I Recommended the following values when looking at SPY:
On a 1m chart: .10 cents
5min chart: .15 cents
15m chart: .25 cents
1h chart: 1 dollar,
1D chart: 2 dollars
Your mileage will vary.
With the wicks, you choose a percentage. You can choose to only show an arrow above or below a candle if the wick size is at least x% the size of the candle body.
For instance, the user can choose to only show arrows when candle has moved by X amount. The smaller the timeframe, the smaller the amount. I Recommended the following values when looking at SPY:
On a 1m chart: .10 cents
5min chart: .15 cents
15m chart: .25 cents
1h chart: 1 dollar,
1D chart: 2 dollars
Your mileage will vary.
With the wicks, you choose a percentage. You can choose to only show an arrow above or below a candle if the wick size is at least x% the size of the candle body.
Nota Keluaran
Removed division by 100 for first input, we're taking the actual value, not a percentage.Nota Keluaran
Changed default step value for candle wick length and removed commentary on how to set price value.Nota Keluaran
Modified plot to use triangles instead of arrows. Also further modified the step setting for candle wick length.Nota Keluaran
Modified plot arrows, changed plot.Nota Keluaran
Added ability for user to pick moving average length.Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.