Tim Rittel / Publications
Forum
EA DeInit and Init if ChartTimeframe switches (EA reload yourself)
Hy, is it possible to force my EA to reload itself, everytime the Timeframe on the Chart is switched? //+------------------------------------------------------------------+ //| RefreshYourselfEA.mq4 | //|
Is it possible to create a Variable frome EA inside?
Hello... i would like to know if it is possible to create a Variable from inside the EA...for Example input string Nr1_Name="Hello"; input int PeriodChoosen=12; // above all clear // below is the question..is there a way to do this?? int MA_Period_"Nr1_Name"=PeriodChoosen; (the Variable shall have
How EA can read my ENUM choice?
Hy, how is it possible for my Ea to read my Enum-Choice? enum selectChoice { Banan= 0 , // lolol Apple= 1 , // lala }; input selectChoice WhatIlikeMost=Apple; //later in EA.. if (WhatIlikeMost==Apple) //Do my stuff...; // Thats how i did it, and it doesnt work...Do You know better
how to show OrderProfit() in Points?
Hy, i cant write the code to get the actual OrderProfit() of an already opened Order to a Point/Tick value ... does anyone knows better? (mql4) double realOrderProfit = ( OrderProfit ()- OrderCommission ()- OrderSwap ()) / OrderLots () / MarketInfo ( OrderSymbol (), MODE_TICKVALUE ); //
minimal GlobalVariableSet() Problem...
hej, i would like to 1. create 2. check 3. changeValue 4. delete a Global Variable The Variable shall have the Name of the Symbol and which the ea runs and LOL....example"EUR_USD LOL" how could i archieve this
forLoop Misunderstanding stalking multiple opened Orders...
Hy, i am working for a year on my first ea...its a complete virtual trailing stop....there is a problem: the ea shall stalk each order separate and nor cumulated... lets say we buy at broken Hjgh[1] and with new candle we buy again at broken High[1]....Now we got two open Buys with different