Hello,
i just wanted to create buy order when the following happens
close price cum down 3 days and on 4. day (signalday) the Range of the bar(High minus Low) should be at least 10% smaller then ATR (10days), if both criteria are true then buy at market on next day.
i would like to create this in code directly without using wizard.
the first thing price cum down 3 days is not the problem but how can i code the rest ?
can somebody help me please !?
thanks thomas
Size:
Color:
Here you go Thomas:
CODE:
Please log in to see this code.
Size:
Color:
QUOTE:
close price cum down 3 days and on 4. day (signalday) the Range of the bar(High minus Low) should be
It's a little confusing. Do you mean...
1. Buy two positions? - one after 3 days down and another after 4 days down?
2. Or, buy at market on the 4th day after 3 days down, but only if the H - L is less than 90% of the ATR? (That would actually be a peeking condition.)
Or something else?
Size:
Color:
hi Eugene and Cone,
also for me it is a little bit confusing...
i meant step 2 only buy one position !
so buy at market on the 5th day after 3 days down but only if the "High minus Low" on the 4th day is less then 90% of the ATR .
thats what i want... so EUgene can i really use the code you mentioned for this?
thanks
thomas
Size:
Color:
CODE:
Please log in to see this code.
Size:
Color:
okay thanks will try this code
Size:
Color: