is it possible to set a time stamp. The ea should use this time stamp (price level) to send an order after it went up 50 points.
Thank you for your support
it's possible to set (just about) anything.
Your idea of time stamp as a price level differs from any definition of a time stamp that I have come across in many decades.
Do you mean .. " when this future time stamp occurs, note the price. If price then increases over price-at-time-stamp by 50 points, then open an order" ?
(editted several times over 2 minutes making logic clearer)
you are right, " when this future time stamp occurs, note the price. If price then increases over price-at-time-stamp by 50 points, then open an order" that is my intension
who can I make this possible
Maybe something like
extern datetime SpecialTime;
static datetime markDone = 0;
static double markPrice = -1;
if(Time > SpecialTime && markDone == 0)
markDone = Time;
markPrice = Bid;// or Ask or Close
double somePrice = Bid;// or Ask or ...
if(markPrice > 0 && somePrice > (markPrice + deltaPrice))
NB Code just typed; not checked or compiled, and I'm watching TV at same time.