- Search Crypto Craft
-
MaryJane replied Jun 13, 2011Doesn't work. Here a quote from mladen over at tsd: I have tried it, generally if the arrays have to be referenced as Series (e.g. if iMAOnArray() is used), the above does the shift. If they are not AsSeries, an inverse flip trick has to be done (as ...
Article: Effective usage of Arrays in MQL
-
MaryJane replied Jun 12, 2011Lou, you confused? I'm over-confused now. Wondering if it works for you. Tried it with two other mt4 installations - same result. It probably doesn't make any sense to dissect it further, I honestly apologize to Rangebound if my conclusions were ...
Mt4 code for smoothed inverse fisher transform of RSI
-
MaryJane replied Jun 12, 2011//+------------------------------------------------------------------+ //| #MAMA_v2.mq4 //+------------------------------------------------------------------+ #include <stdlib.mqh> #property indicator_chart_window #property indicator_buffers 2 ...
Mt4 code for smoothed inverse fisher transform of RSI
-
MaryJane replied Jun 12, 2011My bad. I can't express myself correctly perhaps and when I read the lines I wrote, I see I produced absolute nonsense. Series and non-series arrays don't shift automatically, only the eight dedicated indicator buffers do. The Resize operation makes ...
Mt4 code for smoothed inverse fisher transform of RSI
-
MaryJane replied Jun 12, 2011¨ Congrats on the pips! And your MAMA is perfect, because the arrays are NOT set AsSeries.
Mt4 code for smoothed inverse fisher transform of RSI
-
MaryJane replied Jun 12, 2011LOL that starts to be funny :-)) PLEASE believe me, as a newb the last thing i wanna do is rant on somebody I really appreciate. But i did the same inbetween, put this ArraySetAsSeries(Price,true); ArraySetAsSeries(Smooth,true); ...
Mt4 code for smoothed inverse fisher transform of RSI
-
MaryJane replied Jun 12, 2011Yes, i see
..and i already see a reason: you're not setting them ArraySetAsSeries(arrayX, true)!! You have no need to do so; you simply declare the array (every array is not AsSeries by default) and make all the computations "manually", indexing ...Mt4 code for smoothed inverse fisher transform of RSI
-
MaryJane replied Jun 12, 2011apologies — Lou, I went thru the thread you mentioned. To mimic indicator buffers with arrays, one must keep their size to Bars and shift them on a new bar. Zen Leow's advices are spot on, he suggests shifting every element in array within a ...
Mt4 code for smoothed inverse fisher transform of RSI
-
MaryJane replied Jun 11, 2011not repainting in usual sense.. but i have tried to set the arrays as series in init() then resize them to Bars on a new bar and they messed up.. so it looked like repainting.. but i guess i should shift them somehow at some point
I'll go ...Mt4 code for smoothed inverse fisher transform of RSI
-
MaryJane replied Jun 11, 2011great stuff, thanks a lot

Mt4 code for smoothed inverse fisher transform of RSI
-
MaryJane replied Jun 10, 2011no i'm not.. i coded it just to see if i'm able to code an indicator. i'm playing with EAs a little bit, i hate indicator code but hey, now i have a slight clue how buffers work at least
I don't like these smoothed and binary-emphasized ...Mt4 code for smoothed inverse fisher transform of RSI
-
MaryJane replied Jun 10, 2011O.K. edit: if i understood it right, the rsi is not smoothed with rainbow. price is smoothed with rainbow, rsi is calculated from that result and then smoothed again with zerolag ema.. finally i-fish is applied. please let me know if it's ok, ...
Mt4 code for smoothed inverse fisher transform of RSI
-
MaryJane replied Jun 10, 2011I meant that doubling (or other kind of multiplying, like various 'recovery' methods do) the stake to a very limited extent of steps can be justified only if there are some odds of reasonable profit/loss distribution pattern with the given strategy, ...
Another bit of Martingale lunacy
-
MaryJane replied Jun 10, 2011Ooops
didn't realize that. Still learning, thanks! I ran a quick BT (not on tick data) and yes, results are slightly worse if fixed. But the rsi filter is a very crude method, you get pretty much the same result with just rsi<50/>50. The ...Another bit of Martingale lunacy
-
MaryJane replied Jun 9, 2011you start to pyramid when you're already in profit with init position, if you keep your summed position positive or within risk limit and quit if it turns on you, nothing can catch up to you. just like with a single trade, you limit your risk. ...
Finally I'm profitable - I need help coding the EA - Willing to share the strategy
-
MaryJane replied Jun 9, 2011Agree 100%. Every entry. And even better, every exit too. My view on limited-sequence doubling up
Finally I'm profitable - I need help coding the EA - Willing to share the strategy
-
MaryJane replied Jun 9, 2011Mechanical systems are prone to huge drawdowns; that's a fact. As I have seen, most successful mechanical systems lose (the really good ones break even) most of the time and make up for their losses with relatively few HUGE winners. First you have ...
Manual backtest v EA testing
-
MaryJane replied Jun 9, 2011Plot a horizontal line and name it line. Move the line where you want to. Run the script. If there's ńo line with that name, the script will alert and terminate. If you want to speed-up things, remove the #property show_inputs line off both scripts. ...
Help with changing a script
-
MaryJane replied Jun 9, 2011Depends on the kind of system. I assume your approach is not systematic (quant) and you're interested in testing a system you want to trade manually. Automated backtesting equals automated trading, at least to some extent. Every trading strategy has ...
Manual backtest v EA testing