Hi,
I am not a programmer but i give my best.
only for understanding. Can someone tell me if the interpretation of CoverAtLimit is correct?
1.
CODE:
Please log in to see this code.
CoverAtLimit next day (open) based on Close and with the calculation next day. Is that correct?
2.
CODE:
Please log in to see this code.
CoverAtLimit next day (open) based on Close and the Calculation from Yersterday (because -1). Is that correct?
Thanks and greetings
Damir
Size:
Color:
Hi there,
1.
QUOTE:
CoverAtLimit next day (open) based on Close and with the calculation next day.
With the calculation based on
today's ATR.
2.
QUOTE:
based on Close and the Calculation from Yersterday (because -1). Is that correct?
Based on yesterday's Close and ATR (both).EDIT 01/28/2017:
Based on the bar preceding the entry bar (for both).
Size:
Color:
Hi Eugene,
thanks.
greetings
Damir
Size:
Color:
If course, there's no space between
Close and the indexer [...]
CODE:
Please log in to see this code.
Could someone please tell me why
p.EntryBar-1 is being used for yesterday instead of
bar-1? Isn't
p.EntryBar-1 pointing to the day before the short contract was purchased (which could be several days before present), not necessarily yesterday?
Size:
Color:
Mark, that's a good observation. I stand corrected: I overlooked "EntryBar-1" as "bar-1". My reply above edited. Thanks.
Damir, note that p.EntryBar-1 indeed points at the day before the entry which is not "yesterday" and could have happened many bars (days) before.
Size:
Color:
Hi Eugene, Superticker,
good job. Thank you.
greetings
Damir
Size:
Color: