i try to write an indicator ..in this one i need to have the entry price of an open position ......but OpenEntryPrice can t be used in an indicator ...i try to find the same that i can used in an indicator ..
my idea draw a line with the entry price +30 for a long or - 30 for a short that is the fees in binance for one BTC ..i need to see the fees on chart ..
Code: Select all
variables: LineTL(0);
if i_MarketPosition= -1 then
LineTL=OpenEntryPrice;
an idea ??
if i must use signal to store entry price in a variable ...how to include it in an indicator ??
thx