fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. emilio
    3. Posts
    E
    • Profile
    • Following 0
    • Followers 0
    • Topics 27
    • Posts 60
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by emilio

    • RE: Help with variables needed (I can not do it work)

      I would like to describe the process I do to asign an open value from a trade to a variable.

      1. create it http://prntscr.com/8g5649

      2. When trade is done, Variable is "filled" with the a new value from the open trade http://prntscr.com/8g56qy

      3. To check it i use http://prntscr.com/8g5792

      But the result in the that I see when backtest is done is this http://prntscr.com/8g59n7 http://prntscr.com/8g59vi

      Where is the error ??? I´m completely stopped, any help or example will be wellcome.

      Thank you.

      posted in Questions & Answers
      E
      emilio
    • RE: Asign sell price to a variable

      Sorry but I don´t understand-

      Step one.

      I want the open price of one sell trade will be stored in the proyect variable called "ENTRADA"

      http://prntscr.com/8flfdq

      F.E. It means that I create "ENTRADA" with the value 1.11111 and after sell ejecution its value shoul be 1.112345. ok ???

      Step two

      Now I can compare with an "if" the new value (1.112345 ) stored in the proyect variable "ENTRADA"

      http://prntscr.com/8fli62

      ok ??

      Anycase one simple example will be helpfull

      posted in Questions & Answers
      E
      emilio
    • RE: Variable example needed

      http://prntscr.com/8fglc2

      posted in Questions & Answers
      E
      emilio
    • RE: Variable example needed

      Maybe I need an example of the following.

      EA is working with this setting --> http://prntscr.com/8fghio

      But I want to change the left operand from "value" to a "project variable"
      called "ENTRADA". --> http://prntscr.com/8fgicw

      But first this "ENTRADA" has to be filled with the open value of the last trade executed --> http://prntscr.com/8fgjzy

      The value for "ENTRADA" has to be something like 1.12650. -->http://prntscr.com/8fglc2

      I can´t see what is the problem.

      Thank you in advance.

      posted in Questions & Answers
      E
      emilio
    • RE: Asign sell price to a variable

      Hello all

      I want to asign (modify) the sell price to the variable ENTRADA when a sell operation is done.

      http://prntscr.com/8fetm9

      It doesnt work, but if I change the paramenters the condition below works.

      http://prntscr.com/8feuko

      What should I change to do the first work ??

      Thank you

      posted in Questions & Answers
      E
      emilio
    • RE: Check if last 10 trades Sell or Buy

      F.E.
      When I have "frozen" my buys, it is a way to follow the correct trend.

      posted in Questions & Answers
      E
      emilio
    • RE: Check if last 10 trades Sell or Buy

      Hello all

      I need to know if my last 10 trades were sell ones. (or buy ones).

      They are all in the same group, and doesn´t matter if they win or loose.

      I´ve seen and there is only the posibility to check the last one.

      Any idea ?? how to do it ??

      Tks !!!

      posted in Questions & Answers
      E
      emilio
    • RE: Thank You...

      If you attach the MQL4 source file it is more easy to help for more people , and if you describe the strategy that you are interested on , all of us can help you till it works.

      Bye.

      posted in Questions & Answers
      E
      emilio
    • RE: Add volume and trade it.

      Hello all
      I want to trade (under certain conditions) a new trade with the acumulated volume of all active trades.

      F.E. If I have a group of 3 buys like:

      1st buy, trade volume =0,1
      2nd buy, trade volume =0,6
      3rd buy, trade volume =0,3

      And the X condition is met, How can I generate a sell trade of 1,0 --> result of (0,1 + 0,6 + 0,3) ??

      Maybe " Add to volume " coul be the solution but I´m not able to manage it.

      Any idea to get this new target ??? possible blocks to use ???

      Thank you.

      posted in Questions & Answers
      E
      emilio
    • RE: Error 152 if constant defined

      It works with "+intervalo"

      Thanks !!!

      posted in Questions & Answers
      E
      emilio
    • RE: Error 152 if constant defined

      The E.A is working fine if I use the +50, but when I try to define a constant "intervalo" with the value +50 give me the error code "152 some operator expected". I´ve tryed to add / delete + and change the type to string/int/double but the result is the same error code.

      Updated a print screen of working fine when the field is directly filled with "+50" (up/left) green squared,

      error code (up /right) and constant definition --> center.

      http://prntscr.com/7gs1h5

      posted in Questions & Answers
      E
      emilio
    • RE: Close trade manually opened by E.A.

      What will happend if one traded opened automatically by E.A. is closed manually ??

      I suppose the E.A. will recalculate the opened positions every time selected, wright ?

      Tks

      posted in Questions & Answers
      E
      emilio
    • RE: About Martingale and Basket System

      Theese are some of the questions I´m trying to solve time ago.

      The only thing that works for me is to repeat the last martingale (x th) position and close (loosing) the most profitable trade at the same moment.It increases the exposure but makes lower the "exit" point condition.

      I would like to set a "stop" level (Profit-leverage of -500 euros F.E.) and when it returns to the initial condition al continues, in a way that the drawdown should be minimized, But I still not able ....

      Below in a message from last week I wrote 2 messages about strategies and atached are the indicator and E.A. used, If possible lets make it better.

      Tks

      posted in Questions & Answers
      E
      emilio
    • RE: Strategia one

      Hello there is no problem, E.A. is working fine.

      It is done this way because I don´t wanted an estrict "grid or martingale", so every buy action is done when the conditions above , as a result ,the gap in between every buy is different.
      But certainly I could reduce to one the buy block.
      I´m gonna try this !!!

      😄

      posted in Questions & Answers
      E
      emilio
    • RE: Strategia one

      Block diagram for it

      http://prntscr.com/7bfj7d

      The result, ex4 file and indicator some messages below.

      Any comment /idea will be wellcome.

      posted in Questions & Answers
      E
      emilio
    • RE: Share different strategies

      Thank you very much, I´ll do as you suggest too.

      To run the EA I forget to attach a custom indicator needed , now it is attached.

      I hope you can reproduce now the same theoretical back test results as me, starting on 1/1/2015 from eurostock index.

      Emilio

      ......
      FxMaOscillator_v1.03.ex4

      posted in Questions & Answers
      E
      emilio
    • RE: Share different strategies

      The only way to evaluate the strategy till now was to run a background since the oldest date that the broker database lets. Or since 1/1/2015.
      As an example this print screen, I would like to reduce D.D. but I consider it is the price to pay for a constant result stability.

      What is the software used to upload printscreens ???? Attached file .ex4 and result of it since 1/1/2015, with the example.

      Is it possible to get you feedback for it ???

      Tks.

      ......
      DRAWDOWN eurostock.ex4
      result.jpg

      posted in Questions & Answers
      E
      emilio
    • RE: Share different strategies

      I´m interested in share my strategies in order to made them better with things like reduce drawdawn, use of martingale -paroli /other options ....other ideas .... ect I believe this forum is a perfect starting point with experimented programmers/traders.
      If we could share our own background maybe will be more profitable for all us.

      If only "I have this problem please solve it" my feeling is that we are wasting 70% of this forum power.

      Any idea to run ???

      Thank you all in advance.

      posted in Questions & Answers
      E
      emilio
    • RE: Gap detector

      Hello all
      I would like to do some block combination able to detect that next start is two or more times the dimension of previous candle, this way gap detection wil be a posibility to trade. Any "gap detector" block done alredy ??

      As an example

      previous candle --> min=10 / max=30 ---> amplitude =20

      last candle --> min =80 / max=100 ---> amplitude = 20

      GAP = 80-30 =50 it is more than 2 times the amplitude of the previous candle-> target reached.

      This is the idea but I don´t know how to realize it.

      Any idea will be wellcome.

      Thank you .

      posted in Questions & Answers
      E
      emilio
    • RE: project variable in a condition block

      Is it possible to get the value of a boolean proyect variable and use it in a condition block ?

      http://prntscr.com/6wivkd

      It seems like only global variables can be used.

      If not possible, How could I compare the value of this boolean local variable ??

      Thank you.

      posted in Questions & Answers
      E
      emilio
    • 1
    • 2
    • 3
    • 2 / 3