Hi everyone, very happy to join this community, im from Montreak, Canada, this is my my first post.
Im fairly new to coding and trading.
I'm trying to code a gap down strategy. On a 15 minutes timeframe, Sell if the open is lower then 99% of the close of yesterday, for example.
This is what i code and no trade happening, but it was compiled.
Any idea ?
inputs: a1(99);
condition1= open < (close[1] data2) *(a1/100) ;
if condition1 then begin
sell next bar market;
SETEXITONCLOSE;
end;
Coding Gap down strategy
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times