Md Hafijul Islam / Publications
Forum
Add/Remove a function from input
Hi, I have a simple if condition, if true then send order. The condition consists of multiple &&'s. is it possible to enable disable one &&(Condition) from input panel? if (((ifBull> 50 && diff1< 20 )||(ifBull> 80 && diff1< 30 )||(ifBull> 30 && diff1< 6 )) && total< 1 &&Ask- 50 >MovingAverage &&
How to know if all open positions are same?
I would really appreciate if one could advice how to write a code that executes, if "All Open trades are OP_BUY" or if "All Open trades are OP_SELL", then no OrderSend
How can I extract variable value outside if statement
Hi all, I am a newbie in coding and might be asking a very silly question. I want to store Open price of the first order in a variable. there might be multiple orders running simultaneously. I need to store this data so that I can set stoploss/Take profits for upcoming pending orders from this