THANK A LOT)) I haven't seen anywhere about what you can write inside OrderSendOP_BUYLIMIT unfortunately, or maybe I just missed it due to inattention....(
help this problem: I want a certain combination of candles to have an alert
if(Open[1]<Close[1]&&Open[2]==Close[2]&&Open[3]>Close[3])Alert("глянь на график");if(Open[1]>Close[1]&&Open[2]==Close[2]&&Open[3]<Close[3])Alert("глянь на график");
I ran it through the history, but the chart has combinations when it should have been.
Due to the fifth sign, there is uncertainty in comparing price levels. Candlestick analysis has long existed at four digits. To shift the comparison of five-digit prices to what it used to be, I introduced the Level variable into your Expert Advisor's code.
Ten points at five signs (one point at four signs) will correspond to Level = 0.000095
(There is another way - round prices to four digits, and then compare. That's up to someone).
The code has been corrected a bit. My tester shows Alert
Hello, Could you please tell me how to make the SL of a market order become 0 if the low of the last bar is above the order price in case of a buy order, and the high of the last bar is below the order price in case of a sell order.
Hello, I'm asking for help from the knowledgeable, my indicator does not want to draw by the flow, I have to constantly switch frames to update it to the last bar, how can I fix this shortcoming? I'm very thankful for it!
Example code for setting a pending order:
THANK A LOT)) I haven't seen anywhere about what you can write inside OrderSend OP_BUYLIMIT unfortunately, or maybe I just missed it due to inattention....(
>> thanks a lot again.)
help this problem: I want a certain combination of candles to have an alert
I ran it through the history, but the chart has combinations when it should have been.help here's the problem: I want to
>> the whole code to the studio, sylvuplet.
The alerts in the tester don't work. Replace the alert with a print and check the log.
credit
whole code
code in its entirety
Due to the fifth sign, there is uncertainty in comparing price levels. Candlestick analysis has long existed at four digits. To shift the comparison of five-digit prices to what it used to be, I introduced the Level variable into your Expert Advisor's code.
Ten points at five signs (one point at four signs) will correspond to Level = 0.000095
(There is another way - round prices to four digits, and then compare. That's up to someone).
The code has been corrected a bit. My tester shows Alert
See in the appendix.
Hello, I'm asking for help from the knowledgeable, my indicator does not want to draw by the flow, I have to constantly switch frames to update it to the last bar, how can I fix this shortcoming? I'm very thankful for it!