Thanks wolfe...
Is this TF sensitive?...what I mean... will it use whatever time frame it is loaded on?....or what happens if we switch TF'S after dragging it on to a chart?
ES
Quote:
Originally Posted by wolfe
Kayvan,
I altered the code to try and fit your idea. If you don't like where the next buy or the next sell is being placed then alter this piece of code-(I labeled it so you can find it easily)
PHP Code:
/////////////////////////////////////////////////// CHANGE CODE HERE FOR NEXT_BUY OR NEXT_SELL//////////////////////////////////
double Next_Buy=((High[1])+(spread*Point)+(2*Point)); //
double Next_Sell=((Low[1])-(spread*Point)-(2*Point)); //
/////////////////////////////////////////////////// CHANGE CODE HERE FOR NEXT_BUY OR NEXT_SELL//////////////////////////////////
Let me know how it works.
|