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

97
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

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.