@frank-2 Are you sure those support and resistance lines are correctly identified? I don't see any logic problem at first glance. Are they visible in the object list tab?
Posts made by l'andorrà
-
RE: help Support and resistance based on shvedsnrposted in Questions & Answers
-
RE: Not Opening Sell Stop In Testerposted in Questions & Answers
@sibkis Then you need to open all programmed trades at least beyond that distance. You will need an offset distance when programming them:

-
RE: I want to skip candleposted in Questions & Answers
@uriel-0 Which block is that exactly? I can't find it.
-
RE: PO In Grid Same TP/SL For All Orderposted in Questions & Answers
@aisar No, because the EA need to know the distance in pips...from which trade? You are opening many trades and which one is supposed to be the one to be considered?
-
RE: Fast line Middle line Slow line Open position close position, open position close positionposted in Questions & Answers
@cool-gao I'm afraid I don't fully understand what you mean.
-
RE: How can I save a separate previous tick and current price?posted in Questions & Answers
@ontradingx You need to create two variables, one for the last tick and another one for the previous one. As new ticks arrive to the platform both variables are uppdated so that you can compare those values.
-
RE: Hedging lossesposted in Questions & Answers
@purelife173 Searching for all closed trades in the EA so far can be a mistake. Imagine you have thousands of them. That 'for each closed trade' loop will require a lot of time to search for them...every tick! Are you sure you need them all?
-
RE: check if no positionposted in Questions & Answers
@smartcity-0 If you selected that distance within the block, yes, that is correct.
-
RE: check if no positionposted in Questions & Answers
@smartcity-0 This is the block jstap is talking about:

-
RE: Loop variablesposted in Questions & Answers
@general-melchett The only way to do that is by using custom arrays. fxDreema cannot do that with its current blocks. You will need a programmer to help.
-
RE: Unrealised lossposted in Questions & Answers
@jstap Exactly, you just need to select the option 'less than 0'.
-
RE: Check Age Function Not Working properlyposted in Questions & Answers
@econsulttt Then I'm afraid you will need to contact the admin.
-
RE: Not Opening Sell Stop In Testerposted in Questions & Answers
@sibkis You are requiring the broker to program a buy and a sell too close to each other. When the but is programmed, the sell can't because it is at 0 pips distance according to your logic. You should contact your broker to ask what is the minimum distance accepted.
-
RE: Building partial Stop Profit but impractialposted in Questions & Answers
@criptofuture Certainly a loop would make it much more elegant and efficient. However, that would required a lot of effort because it is not a trivial structure to create.
-
RE: Can you use condition block on "trade" tabposted in Questions & Answers
@drewliedadeuce You already created another thread for this same question. Please, don't duplicate treads.
-
RE: Hedging lossesposted in Questions & Answers
@purelife173 The problem can be the amount of closed trades to review. Is there any limit or will all closed trades from the day the account was open to be considered?