PROTECTED SOURCE SCRIPT

PS Quantity ORB

49
Allows you to use the difference between the high and the low of a given bar to automatically calculate buyable quantity given the risk is defined.

Assumed buy price is the high of the bar and stop loss is the low of the same bar.

The indicator takes two inputs, Length and Risk where:
Length is the number of bars before the current bar
Risk is the Rupee Risk you're willing to take

If you want the current bar to be the one the calculation is performed on, input Length as 0. Previous bar, input Length as 1 and so on.

Rupee Risk is self explanatory.

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.