OpenEntryPrice

Questions about MultiCharts and user contributed studies.
chipeur_le_renard
Posts: 50
Joined: 13 Jul 2014
Has thanked: 15 times
Been thanked: 5 times

OpenEntryPrice

Postby chipeur_le_renard » 10 Jul 2021

hi everyone

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;
error in compilation with OpenEntryPrice

an idea ??

if i must use signal to store entry price in a variable ...how to include it in an indicator ??

thx
Last edited by chipeur_le_renard on 11 Jul 2021, edited 3 times in total.

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: OpenEntryPrice

Postby TJ » 10 Jul 2021

See post #1 & #2
viewtopic.php?t=11713

Mydesign
Posts: 177
Joined: 15 Feb 2017
Has thanked: 32 times
Been thanked: 39 times

Re: OpenEntryPrice

Postby Mydesign » 15 Jul 2021

if i must use signal to store entry price in a variable ...how to include it in an indicator ??
Hi, you should check out these keywords:
i_SetPlotValue and i_GetPlotValue

chipeur_le_renard
Posts: 50
Joined: 13 Jul 2014
Has thanked: 15 times
Been thanked: 5 times

Re: OpenEntryPrice

Postby chipeur_le_renard » 15 Jul 2021

thx ..i do that


Return to “MultiCharts”