Assess for a Shift in Condition:
Inserted Code static bool SignalWas=false; bool SignalIs=(BuySignalA) ((Ask-Bid) lt;= AvgSpreadHigh); if (SignalIs !SignalWas) Opinion...
Type: Posts; User: alelau93
Assess for a Shift in Condition:
Inserted Code static bool SignalWas=false; bool SignalIs=(BuySignalA) ((Ask-Bid) lt;= AvgSpreadHigh); if (SignalIs !SignalWas) Opinion...
It is dependent upon how your awake is becoming triggered, but a couple of common ways to deal with this problem are:
1. Check for change of condition.
Use a static variable to keep in mind...
Thank you https://www.nigeriaforextrading.com/attachments/1528023443.png
We are all still learning!
One thing to bear in mind is that brokers can change or add to an order remark. So you need to be cautious in case your code checks for equality -LRB-==-RRB-
Depending on your requirements, another option is to produce your own buy and sell buttons for setting manual orders. The buttons may assign the magical number when they start the order