fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. teobusetti
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 17
    • Best 0
    • Controversial 0
    • Groups 0

    teobusetti

    @teobusetti

    0
    Reputation
    635
    Profile views
    17
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    teobusetti Unfollow Follow

    Latest posts made by teobusetti

    • RE: EA for SMA crossing

      @fxDreema Hey! I've tried to apply what you suggested but I cannot seem to figure out how to configure it properly.
      Isn't there another way of telling the indicator to "stop entering trades until X condition is met"? the X condition being that the SMA must crossover in the opposite direction.

      posted in Questions & Answers
      T
      teobusetti
    • RE: EA for SMA crossing

      @fxDreema Thanks! I will try to make it work with the example you provided 🙂

      posted in Questions & Answers
      T
      teobusetti
    • RE: EA for SMA crossing

      @miro1360 once per bar does not work. the following example could clarify a bit:

      • SMA cross on bar 0
      • stochastic gives signal on bar 2 and trade is entered
      • trade exit at bat 10
      • at bar 12 the stochastic gives another entry signal and the trade is entered
      • trade exit at bar 20
      • SMA cross again at bat 22

      I am trying to find a way to block the EA from entering the trade at bar 12 - i.e. any trade triggered after the first trade and before the SMA cross in the opposite direction of the first trade... hope it makes sense...

      posted in Questions & Answers
      T
      teobusetti
    • EA for SMA crossing

      Hi all,
      I am trying to build an EA that enters a trade when the 100 SMA > 200 SMA and when the Stochastic crosses the 25 level from below. Let's suppose I set a fixed TP and SL, each of 100 pips. How can you stop the EA from entering a new trade when the SL or TP are reached and the SMAs still have not crossed over?
      I.e. I would like the EA to enter just one trade per SMA crossovers...
      Many thanks!!!

      posted in Questions & Answers
      T
      teobusetti
    • RE: Trailing stop on last bar's close

      __Try something like this: http://prntscr.com/c3gik7
      But about the ATR value, put it in a Variable. I named it like "ATRValue" only for the example.
      I also think that 2 Trailing Stop blocks must be used, because of the "+" and "-" used for buys and sells[/quote:199rh1k4]

      Thanks for the input! But I do not quite understand what you have done there...I cannot see anywhere a reference to the previous bar close price and I cannot understand why you take the ATRvalue+ATRvalue2 , I would like PreviousClose+ATR2 ....could you explain it please? 🙂

      I have tried to update it like this https://fxdreema.com/shared/5hV58uyNd but like this it does not work on MT4 - I have attached a screenshot with the errors...any idea why it cannot run?

      ......
      Screen Shot 2016-08-09 at 22.00.22.png

      posted in Questions & Answers
      T
      teobusetti
    • RE: Trailing stop on last bar's close

      Hello everyone! 🙂

      I am trying to set a trailing stop loss based on the previous bar {Close Price + 2ATR} (for sell orders) and {Close Price - 2ATR} (for buy orders).
      I have tried to use loop blocks and the trailing stop block (blocks 41 to 44) but I cannot find a way to set the price "reference" as the previous candle close and to make this happen for every new bar created...does anyone know how to do this?

      https://fxdreema.com/shared/AkT0UWaM

      Thanks!!

      posted in Questions & Answers
      T
      teobusetti
    • RE: Get trade entry price

      __teobusetti, how many variations of the same EA do you have? 🙂

      In pink blocks, if you see Open Price, this is the price where the trade/position/order is opened. No candles here[/quote:1ox4y3ky]

      ahahah...I was just trying different things to see if I got it right 😄

      Thanks for the help, it seems to be working as I expected now

      posted in Questions & Answers
      T
      teobusetti
    • RE: Please help: Place ATR Stop Loss?

      __If I understood this right, you want to modify your stop just once. Now the bot modifies it on every tick though, and so forgets about your open bar as time passes.
      Use "check stop-loss" (needs to equal 0) and modify the stop only then.[/quote:17xwgd3b]

      Thanks 🙂 exactly what I was looking for!!

      posted in Questions & Answers
      T
      teobusetti
    • RE: Get trade entry price

      ____if you will work with open price, you can play with blocks:
      For each Trade + modify stops (here can you directly modify stops relative to open price) ....
      For each Trade + Modify Variables (select "in loop Trade order in loop")
      dont forged select parameters in For each Trade to define what trade you will get, it is loop - sometimes it is better to work inside this loop like outside
      there even exist better solution, but sometimes I am lazy to think :D[/quote:2t8j34cv]

      Thanks :D[/quote:2t8j34cv]

      Hey miro1360, I have tried what you suggested, but I think that "open price" refers to the open price of each candle... I would like to base the stop loss on the entry price of the trade, because otherwise I get the stop loss on the wrong candle (see attachment).
      Do you think this can be done? 😄

      This is what I have so far... https://fxdreema.com/shared/9aemECuBd

      ......
      Screen Shot 2016-07-18 at 21.49.38.png
      Screen Shot 2016-07-18 at 21.51.54.png

      posted in Questions & Answers
      T
      teobusetti
    • RE: Please help: Place ATR Stop Loss?

      __Be careful with these words - price level, pips, price fraction. This variable "SL_buy" contains price level value, but then in block 46 this variable is used for "Custom (pips)". Try this instead: http://prntscr.com/bu5v10[/quote:3l6hdyj9]

      Thanks!! seems to be working better 🙂
      But is not quite there yet, I cannot understand why it draws the Stop Loss on the last candle, rather than on the entry candle https://fxdreema.com/shared/uB2iAc00d

      I have set "candle ID"=1 with respect to the open price, in bloc 38 but it is not working as i would like...
      Would you please be able to suggest how to edit it?

      ......
      Screen Shot 2016-07-18 at 21.49.38.png
      Screen Shot 2016-07-18 at 21.51.54.png

      posted in Questions & Answers
      T
      teobusetti