Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.
PYenner
Market Wizard-
Content Count
512 -
Joined
-
Last visited
Content Type
Profiles
Forums
Calendar
Articles
Everything posted by PYenner
-
Blu-Ray I will attempt to "translate" VMA4 into VT type statements that may be more useful for others to follow than the MT4 version. But I won't be attempting to actually code it on VT. I ended up doing three vma lines so it got more complicated instead of less complicated. I still have more to do on vma, months maybe. Although vma4 seems like the first "trader friendly" version, I feel like I have only got to the start of understanding how it works, certainly not near the end, not nearly mastered yet. Would also like to get an excel version running, but where is all the time supposed to come from? Cheers
-
How to use the three VMA4 files- The files are used in a different way from the past in order to have the 3 vma lines with or without the fantail. To use the fantail- First add FantailVMA4.tpl as a template, then add FantailVMA4Turbo.mq4 as an indicator to get the vma lines. To use just the vma lines without a fantail- Add FantailVMA4Turbo.mq4 as an indicator. Don't add FantailVMA4.mq4 as in indicator in either case as it will only give you the first yellow line of the fantail...
-
Discretionary Trading vs Automated Trading
PYenner replied to Soultrader's topic in Market News & Analysis
Last I heard, IBM had only just got to a supercomputer that could match a chess grandmaster. So I aint sweating about trading computers for a decade or so. -
Walter Use FantailVMA4Turbo and FantailVMA3 as indicators to compare #3 with #4. Dont use FantailVMA4 as an indicator, it is not indended to be added as an indicator, it is only there to make fantail lines. I started this confusion sorry. Better luck with 4Turbo.
-
Discretionary Trading vs Automated Trading
PYenner replied to Soultrader's topic in Market News & Analysis
The computer can be good for processing data to give signals. But the decision to act needs to come from an experienced human brain, far far more complex than software still. One guy said it well, a human knows when it is time to head for safe harbour. The one thing big trading programs don't like to do is stop trading, that would be like admitting defeat. But knowing when and how to get out or stay out, thats priceless. -
We all learn programming languages as we need them. All of the MT4 files are txt files, you can open them with Notepad or word processor or Meta Editor in MT4 and try to follow what the code is saying. VMA is very similar to the formula for an ema. Sma formula can look like this- SmaResult[]=(1-k)Oldprice[] + k*NewPrice[] [] means a storage array, one price or result is stored for each bar on the chart. k is called the weighting, in this case it is fractional between 0-1. When k=1 you get SmaResult[]=NewPrice[] When k=0 you get SmaResult[]=Oldprice[] When k=0.5 you get an average,EmaResult[]=0.5*Oldprice[]+0.5*NewPrice[]. So its an average, that one looks like a simple average of prices from two bars, 50:50. The Sma formula can also look like this, but now k is no longer fractional here- SmaResult[]=((1-1/k)Oldprice[] + NewPrice[])/k (This k behaves like a bar count). k=4 is like a 4 bar average because SmaResult[]=3/4 * Oldprice[] + 1/4 * NewPrice[] The result is 3 parts OldPrice and 1 part NewPrice similar to a 4 bar average. This k is often in integers, but there can be decimals like k=2.5. Ema can give more weight to recent data- (with k fractional) EmaResult[new]=(1-k)EmaResult[old] + k*NewPrice[new] This is a running or moving average, the numbers stored in EmaResult[] can be mostly older prices (slow average) or mostly new prices (fast average) depending on the weighting k. k=1 gives fast average, stays close to new prices, this is like laddering. K is fractional here. k=0 gives no change with new prices, like horizonal effect. So the Chande VMA formula looks like Ema formula-(with k=VI fractional) VMA[new]=(1-VI)VMA[old] + VI*NewPrice[new] VI is the input signal, it provides variable weighting. VI=1 is laddering, ignores old prices, follows new prices. VI=0 is horizonal, ignores new prices and stays with- VMA[new]=VMA[old] Bemac used a 2 bar ema of the Chande formula, VMA4 uses the Chande formula with three different emas applied to it. Yeah it got more complicated. But for feeding a signal into the Chande VMA formula, the input VI= "Volatility Index" has to move between zero and one. So many forms of indicator are not suited to giving 0-1 output and something has to be changed to give 0-1 output for sending to the VMA.
-
On historical data it gets only one price to read per bar, the close price. On a live chart, a 5 pip candle has 5 choices per bar. So on a live chart it is following the ticks, faster than the bars,:o The slowest line will often be 2 or 3 bars later, to the right. One reason for attempting a binary version was to minimize the time delays that are built into the vma formula. The binary version has no vma to slow it down 2-3 bars, but so far it doesnt do long HEs either... You dont annoy me Walter, MT4 does, lots of things frustrate. I need to get some trading done, make some $, coz nothing but indicators for a month. When I have a live trade and do other stuff, I can forget about the trade!!!! So need to do a bit of both. The first problem I have with CCI is that it seems to be unsymmetrical or non-linear or something, when the price goes up in two steps the same size CCI shows the first rise big and the second rise looks small, danger danger non-linear not good.
-
Walter The fastest line should be to the left, closest to the price. Then blue a bit to the right, the yellow further right. I see you changed the colors to make fastest yellow. I used red because it needs caution, can change direction, zigzag. Doesnt matter so long as it works for you. Darn, also meant to attach fantail to slowest line so it doesn't block the view of the price action so much, looks like I automatically put it on the fastest line. Oh well. Lack of sleep.... just caught up, zombie stuff.
-
Walter The fast red line tends to jump between Close prices. On a long candle, that can make for a big movement from a minimal difference detected. The way to fix that would be to slow it down some more. But there is actually little adjustment left, its like there are only two options available, red line or blue line. If you adjust either they tend to behave like the other. Its at the limit of its ability for adjustment. The good thing is the progressive warning of a reversal that you sometimes get, nice exit warning :o
-
Historical charts only contain OHLC, they contain no pip data like live feed. VMA4 uses only Close price. Previous versions used only High and Low. That change was done to improve the reliability on live charts. Have also done a momentum type input with binary switching, no vma. That was the dicture you didnt like. So far it is more reliable but does bot yet do long HEs. VMA4 does show ripple because it has very little smoothing in it, keep the time delays down. As you say there are 5432 versions, time will tell which delivers best. > could some command there be missing ? dont go nuts my friend..< Arghhh, wash your mouth out, bad words... yeah, always possible, <sob>.
-
Walter All of the vma versions I have been working on in MT4 have a problem I called glitches. It seemed like an HE was being triggered when it shouldn't. A vma line often looks like it got shifted to the right when this happens. In your 2 pix, the data looks identical yet the vma finds a difference. It is interesting to see it happening on the slower lines too, I had thought it was just the faster lines that had the problem. I have not tried running two identical charts side by side to see if they differ. I mistrust MT4, the vma is sensitive to a single pip of difference, I think it is likely to be an MT4 malfunction/unreliability issue.
-
Either "Charts" tab then refresh or right click on chart, then refresh can help fill gaps in charts. Again watch the kb's in the bottom right corner to see if data comes thru. Also there will be a journal entry to say x bars filled in chart y if the Refresh found a gap in the chart data.
-
Walter MT4 has some defects, this may be one of them. With some other indicators I use, I notice on startup that when the chart data gap gets filled, the indicator does not get re-written properly. So I often have to wait for the data loading to finish (watch the kb numbers in the bottom right corner), then shut down MT4 and start it up again. Get right looking results the second time. Also there is some strange "time stretching" visible in charts when you compare different pairs which can be seen on 4hr charts in particular. I have not used vma enough yet to be aware of a startup problem, but it would not surprise me if MT4 will need to be started twice before each session. <sigh>
-
Think I need a holiday.... Here is the missing file FantailVMA4.mq4 If you have previously used the bad copy, you may need to shut down MT4 and restart it after the good copy has gone into the indicators folder. Otherwise it seems to keep using the old bad version, doesn't know it has been changed Please let me know if it works or not Walter. FantailVMA4.mq4
-
Walter Correction.. FantailVMA4Turbo is the one that you add as an indicator to get the 3 vma lines, with or without the fantail.
-
Yes Shreem Same as Bemac was doing. But on MT4 you have to use a special timing patch to keep the arrays synchronized and it just drives me nuts because... 1. You shouldn't have to do patches to keep MT4 from crashing itself and 2. There are no decent instructions I can find on templates and sychronizing so I just go nuts trying to make sense of senseless stuff. Only in MT4 you have this :crap: Cheers
-
Not again So this time the template stops at the live end. So there is a problem with FantailVMA4.mq4. So I will delete that one and try again, sheeeesh.
-
Gee I wish, but getting more wrinkles than a prune.... maybe DrJ would fill the bill.
-
Pic of FantailVMA4
-
Walter Just add FantailVMA4.mq4 as an indicator to get just the 3 vma lines. Enjoy
-
Peel a banana... FantailVMA4 for evaluation. Add FantailVMA4.tpl to the chart as a template (fantail). Then add FantailVMA4Turbo.mq4 as an indicator (3 vma lines). FantailVMA4.mq4 gets called by the template file, you don't need to add it to the chart. Happy Trading Arggh--- Another bug, will have to delete FantailVMA4.tpl and repost it later when fixed sorry yet again. FantailVMA4.tpl FantailVMA4Turbo.mq4
-
Walter The slowest of the 3 lines is similar to VMA1. So I'm attaching the fantail to that and maybe it will be ok on 5 min as well. The middle line is like VMA3. Not sure what color to make the lines, oh well.... If there are no strange problems, it shouldn't be much longer. Hope it will be worth the wait. Cheers
-
#== I liked the one you posted on post# 126 ... keep that up man ¡¡==# Your wish is my command... Hows them apples? Opps sorry, bananas?
-
Should be possible, more a question of how, a practical way. Good idea Armand.
-
Walter Just a quick pic of progressive entry attempt. 3 lines with different HEs, give turbo, medium and later entry signals. Darn gotta go work Cheers