fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. rocker699
    3. Posts
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 38
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by rocker699

    • RE: Problem with Check Last closed type block

      Hi fxdreema,

      Can you check my current project and see why this block is not executing properly. It's very simple:

      1. If No Trade/order exists (from a certain group.. lets say 1)
      2. Check last closed type (from group 1)
      3. Execute a buy/sell order depending what type it was

      Please. Any help would be really appreciated!! fyi I also tried to use check last winner type block as well.. but with no luck.

      posted in Questions & Answers
      R
      rocker699
    • RE: Problem with check last closed trade profit code

      it's working now. thanks 🙂

      posted in Questions & Answers
      R
      rocker699
    • RE: Problem with check last closed trade profit code

      I have added many custom indicators here before but I am having problem with one custom indicator.. it gets uploaded properly and shows in the custom indicators section but when i choose it for a block lets say indicator tester it says : custom indicator not found.

      screenshot.jpg

      and after i press Update

      screenshot1.jpg

      can you see what is going on?? please??

      ......
      screenshot.jpg
      screenshot1.jpg

      posted in Questions & Answers
      R
      rocker699
    • RE: Problem with check last closed trade profit code

      that would be awesome 🙂 i can probably help in making those pink blocks. It is a good idea though 😛

      posted in Questions & Answers
      R
      rocker699
    • RE: Problem with check last closed trade profit code

      can you explain step mode and step size a bit please? and also in the block 'pips away from open price' can you please explain the options in direction mode?

      posted in Questions & Answers
      R
      rocker699
    • RE: Problem with check last closed trade profit code

      I just had a question regarding something. How would I go about setting up a scenario like this. I would like to have 2 or three targets from open price. For example:

      a) Buy trade. Price moves 20 pips and then keeps on going to 40 but it doesn't reach 50 and starts to turn back and comes back to 20 pips. I want to close that trade at 20 pips.

      b) Buy trade. Price moves 20 pips and then keeps on going to 50 pips and then goes a bit further to 70 pips but starts to turn back and comes back to 50 pips. again close the trade at 50 pips.

      vice versa for sell trades.

      which blocks should i be looking for. I figured it would be 'pips away from open-price' but how can I have those targets. I want something that is calculating how much price has moved in pips and then remember those targets that i set to close the trades at. I hope this is achievable. Any help would be greatly appreciated.

      p.s i don't want to use trailing stops...

      posted in Questions & Answers
      R
      rocker699
    • RE: Problem with check last closed trade profit code

      oh btw the new price over indicator box is awesome. so helpful. thanks 😄

      posted in Questions & Answers
      R
      rocker699
    • RE: Problem with check last closed trade profit code

      yea I made it work. i had to put two "no trades are running" with different group numbers. I knew the problem was with my group number because i have other buy/sell being executed by the price crossover indicator. well you already know coz you tested it out now. but anyways what's up with the group number. can it be changed so that we can have 2 different group numbers in the same condition. that would be helpful i think.

      posted in Questions & Answers
      R
      rocker699
    • RE: Problem with check last closed trade profit code

      still testing. I might have to do one thing though. How can i have two numbers in the group condition?.. for example 1 and 2. separated by comma or what?

      posted in Questions & Answers
      R
      rocker699
    • RE: Problem with check last closed trade profit code

      nop i am backtesting. and if i remove once per trade then it's putting buy/sell trades every tick. but with once per trade/order it's the same 2 buys when last loser type was sell and 2 sell when last loser type was buy. but when i don't use the yellow out at all which would be the opposite of the condition for check last loser type it is putting only one buy/sell trade as it should.

      posted in Questions & Answers
      R
      rocker699
    • RE: Problem with check last closed trade profit code

      actually it's working fine if it's connected like this:

      screenshot4.jpg

      and it's putting two buys and sells when connected like this:

      screenshot5.jpg

      ......
      screenshot4.jpg
      screenshot5.jpg

      posted in Questions & Answers
      R
      rocker699
    • RE: Problem with check last closed trade profit code

      nvm it is working perfectly. I had my group no. wrong!!! 😄 thanks a lot!!

      posted in Questions & Answers
      R
      rocker699
    • RE: Problem with check last closed trade profit code

      I tested it and now it's 2 sells if last loser type was buy and 2 buys if last loser type was sell...even though i have once per trade in the logic. a bit weird. maybe the code might need looking at again. 😢

      posted in Questions & Answers
      R
      rocker699
    • RE: Problem with check last closed trade profit code

      ok so i moved the blocks around.. corrected my logic. seems to be working except that now it is opening both buy and sell at the same time. it should be opening only one trade because in the logic it should check the loser type if it's buy or sell and execute the next blocks accordingly.

      screenshot3.jpg

      ......
      screenshot3.jpg

      posted in Questions & Answers
      R
      rocker699
    • RE: Problem with check last closed trade profit code

      I shall make it work 😁

      posted in Questions & Answers
      R
      rocker699
    • RE: Problem with check last closed trade profit code

      ahh i see. hmmm I will try to change my logic then or move the blocks around i guess. how do I work around it? any ideas?

      posted in Questions & Answers
      R
      rocker699
    • RE: Problem with check last closed trade profit code

      well no it's no for the EA above in the picture. That works completely fine on all brokers. It is when i try to put the blue blocks and then put buy and sell...those trades are executed every tick. Like so..

      screenshot2.jpg

      The logic is very simple. For example if the last closed trade was a buy with a loss of more than a certain pips amount then an opposite trade is executed. But when that trade is executed it is every tick. I tried to put the block 'No trade is running' and 'For each trade' but same result. even tried to put it on trade event still not working. But like i said...only for one broker it is behaving like this..for the other two it works fine.

      ......
      screenshot2.jpg

      posted in Questions & Answers
      R
      rocker699
    • RE: Problem with check last closed trade profit code

      I am guessing the problem here is not the EA itself but a problem with the broker platform.

      posted in Questions & Answers
      R
      rocker699
    • 1
    • 2
    • 1 / 2