My first script that needs to be optimized based on MACD and AO

111
This is my first script here.
I need to understand how to set take-profit and stop-loss based on price and not on ticks, moreover I need to understand how to set time frame.

Thanks to who wants to help

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.