Reply To: thestrat

Optuma Forums Optuma Scripting thestrat Reply To: thestrat

#65097
Marc
  • Topics: 10
  • Replies: 22
  • Posts: 32

Hi Darren,

Pls kindly let me know what is wrong with this formula. I am looking for a higher high or higher low candle(2)+ an inside candle (1) + a higher high (2)
v1=BARTYPES(Day(PERIODAMOUNT=1), DEFAULT=Lower)[2];
v2=BARTYPES(Day(PERIODAMOUNT=1), DEFAULT=Higher)[2];
v3=BARTYPES(DEFAULT=Inside)[1];
v4=BARTYPES(Day(PERIODAMOUNT=1), DEFAULT=Higher);

v1 or v2
and v3 and v4

I don’t get the inside candle with this formula even though it can come up as a  “true” in the table, it is not on the chart.

Thanks and best regards
Marc

Pin It on Pinterest