Inserted Code int COUNT = 0; for( int I = 5; I gt; 1; I--) if(Close#91;I#93; gt; Open#91;I#93;-RRB- COUNT = COUNT 1; else COUNT = COUNT - 1; if( COUNT == 4 Close#91;1#93; lt; Open#91;1#93; ) SHORT TRIGGER if( COUNT == -4 Close#91;1#93; gt; Open#91;1#93; ) LONG TRIGGER
Does this help?