- #6,772
- Feb 25, 2010 11:03am Feb 25, 2010 11:03am
- | Joined Dec 2005 | Status: It's only money | 1,413 Posts
TRADE FOR SWAP
Trading correlation pairs by using the other pairs 843 replies
Export All pairs or selected pairs to .csv with script 3 replies
Pairs of Currency Pairs 4 replies
Trending Pairs / Ranging Pairs 0 replies
Robot trading 120 replies
Dislikedi suppose you have declared an array to store all these "mathmax" valuesIgnored
DislikedScooby,
If there is major news for any pair then you hold off on trades? I noticed you search trhough all of the pairs to see if there's news. Whereas Zoog checks for news for a single pair. If I'm reading the code right.
Thanks,
SandyIgnored
Dislikedapparently, the function MathMax is able to find the maximum value between 2 values only
In order to find the maximum value inside 8 values, I have write like this :
intermedaire1 = MathMax(JpyKgRS,UsdKgRS)
intermedaire2 = MathMax(GbpKgRS,EurKgRS)
intermedaire3 = MathMax(ChfKgRS,AudKgRS)
intermedaire4 = MathMax(NzdKgRS,CadKgRS)
intermedaire5 = MathMax(intermedaire1,intermedaire2)
intermedaire6 = MathMax(intermedaire3,intermedaire4)
MaxKG = MathMax(intermedaire5,intermedaire6)
Is there a less stupid way to write this ???Ignored
MaxKG = MathMax(MathMax(MathMax(JpyKgRS,UsdKgRS), MathMax(GbpKgRS,EurKgRS)), MathMax(MathMax(ChfKgRS,AudKgRS), MathMax(NzdKgRS,CadKgRS)));
DislikedInserted CodeMaxKG = MathMax(MathMax(MathMax(JpyKgRS,UsdKgRS), MathMax(GbpKgRS,EurKgRS)), MathMax(MathMax(ChfKgRS,AudKgRS), MathMax(NzdKgRS,CadKgRS)));
Equally nasty just takes up less room.Ignored
DislikedYes.
Reason being that there is allot of dependency with these pairs.
i.e. Any high news affecting USD will probably affect EUR pairs aswell.
Also becaure of the YEN cross pairs any news affecting USD will have an affect on them too because of GBPJPY = GBPUSD & USDJPY.
The downside to this is that you dont get many trades.
Scoobs.Ignored
DislikedYes.
Reason being that there is allot of dependency with these pairs.
i.e. Any high news affecting USD will probably affect EUR pairs aswell.
Also becaure of the YEN cross pairs any news affecting USD will have an affect on them too because of GBPJPY = GBPUSD & USDJPY.
The downside to this is that you dont get many trades.
Scoobs.Ignored
Dislikedyes.. i agree..
But there must be a better way of finding the overall direction of a trade..Ignored
DislikedHas anyone running Scooby Holy Grail 1.4 or1.6 had any trades today? I haven't had a single one. It's a heavy news day so maybe the filter is saving me from trouble
Thanks!
SandyIgnored