Well I do not understand how to code...this is your department. To make sure that I am communicating the two variables... let me go over them again:
1)
Pyramid example: Long at 1.5500 then with a lookback of 1 with a 2 pip entrylag ..lets pretend the next candlestick opened and proceeded to go up past the previous candlestick high...up ...up...and up...it went up to 1.5502 but there is a two pip spread....so nothing happened...it continued up to 1.5504 Bam! trigger....another long was added!....the global TP takes us out...we are rich and move to the Bahama's for the summer
2)
Average down example: Long at 1.5500 then with a lookback of 1 with a 2 pip entrylag ...lets pretend the next candlestick opened down ...down ...down past the previous candlestick low..it went down to 1.5498...thats was enough because we are buying on the drop...bam we are in! Bahama's for the second summer...this time in our Yacht!
ES
Quote:
Originally Posted by wolfe
How about simply an input such as this-
Logic=1; //1=trend, 2=counter-trend
Trying to figure out good ways to implement all the new ideas, without over complicating the code.
|