Category Archives: Featured

Dukascopy Europe and JForex 3 vs MT4 for helpful algo forex trading tips

Dukascopy Europe and JForex vs MT4 for helpful algo forex trading tips

Question from someone on my email

hey sir

i learn jforex 3 demo on video in youtube then i find ur video and i enjoy ur explain in jforex 3 and i know u trade dukascopy Swiss i ask u plz if u ok


whats ur opnion dukascopy europe ? coz i dont have any depsoite 5000 dollars and i just stay depsoite is 1000 dollars

whats ur opnion jforex 3 ? is it better than metatrader four right sir ? and why ?

do u use vps server for jforex 3 ? coz i have internet is weak in my country

thanx sir

Dukascopy JForex JVM heap size MAY prevent your system from crashing 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

#1 goal in forex trading is not to lose money but profit is 2nd

 

#1 goal in forex trading is not to lose money but profit is 2nd

These two videos clearly explain the latest overnight trading session test (Jan 10) for this automated trading strategy with Dukascopy JForex. For 12 hrs it ran, it made over $15 during that time frame vs the usual multiple days of losing money.

I have changed a few checks in the trading logic as explained in the video. The number one goal was to eliminate potential bad trades (unprofitable) which may have been accomplished with the latest fix. It is that simple but I am surprised no one never thinks of it nor is there a popular indicator that does this. It seems to work but there is lots more testing to confirm this theory.

The other big fix was to allow JForex to run the Java virtual machine higher heap size. The link to the detailed fix is below. As it stands the current strategy consumes up to 1.5 GB of RAM when running but is within the allowed 3.6 GB heap. It even allows the strategy to run through the night instead of crashing as my previous experience.

One last thing in the deep analysis video is to find if the position life cycle gets more profit before it closes it on the exit. Some examples were here so that needs to be improved. These could probably eek out another 25% profit for each successful position. Another note is to improve the average true range indicator to minimize each losing position while cut the loser much faster to preserve higher daily profit.

ALl in all this is a great start to hopefully more successful trading test sessions as I improve this strategy.

Dukascopy JForex JVM heap size MAY prevent your system from crashing 

True range forex trading market random performance video

Video courses on Interactive Brokers and Dukascopy forex automated trading

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

64 bit version Dukascopy Forex tips with Bitcoin crypto addition

64 bit version Dukascopy Forex tips with Bitcoin crypto addition

This is correspondence from some very knowledgable in Dukascopy JForex on tips for Memory, Installation, and surprise Bitcoin trading


1) JForex heap space
it says min. RAM 1GB here: https://www.dukascopy.com/swiss/english/forex/trading_login/
But it is too little most of the time.

Do you use 64 bit Java ?
Have you increased the heap size?
Probably you have, but just in case here come my instructions on this topic

—> I have done this which helps


2) Allow more memory usage of JForex
Don’t use the installed JForex, use Launch JForex 3 (No-installation) instead!
To increase the memory you have to edit the JForex start file, which you get from this website if you click on “JFOREX DEMO START”: http://www.dukascopy.com/swiss/english/forex/trading_login/marketplace_demo_login/
You can use the right mouse botton to save the file to a destination where you can find it. From there you should be able to edit it.

Here is everything in detail:
a) First of all please check your operating system. It has to be a 64 bit operating system.
b) Then check your Java version. It has to be a 64 bit version. If not, deinstall your current Java and install the 64 bit version. You can find it here: http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html
download the latest JRE 7, 64 bit version: Windows x64 . Take Java 7 as it is better tested with JForex. But it should run with Java 8 as well.
c) Instead of running JForex from dukascopy.com, you have to download the jForex.jnlp file on the hard drive and edit it as mentioned above.
d) Open the jForex.jnlp file and search for the following line :
<java version=”1.6+” initial-heap-size=”32m” max-heap-size=”512m”/>
e) Edit it and set the max-heap-size to 1512m or more. This gives JForex 1.5 GB of max. memory or more.
f) Then run JForex from the modified jnlp file on your hard drive by a double click. Log in.
g) Be aware: when Dukascopy makes JForex updates, you might have to download the new jnlp file again and redo the previous described steps.

 

-> Have not tried but prefer to run the downloadable self running without the JNLP option


You might then see that JForex uses way more memory than 700 MB, e.g. while back testing, you will see this usage in the task manager.
You can also watch your current JForex memory consumption in JForex by activating the box “Show Java memory heap”, you can find this in Menu Tools->Preferences->Advanced.

3) Running serveral JForex
Have you ever tried to open several JForex on the same account.
This shares CPU cores and should increase speed.
Maybe you should open 10 instruments per JForex. Subscribe only to instruments, which are used in the opened JForex.
—> that would be useful but a wonky programming trick. Would it not just be better to have more RAM on a server while watching more instruments? e.g. in my case 40 to 60+

—> Not bad so congrats on that. I am getting more comfortable but i may do topic of it next Monday


6) BTC/USD on Dukascopy
Have you also detect Bitcoin mentioned here:
https://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=113&t=56002
https://www.dukascopy.com/client/javadoc3/com/dukascopy/api/Instrument.html#BTCUSD
Seems they get ready for Bitcoin and Ethereum.

—> This is HUGE so thanks for these notes

Video courses on Interactive Brokers and Dukascopy forex automated trading

Dukascopy JForex JVM heap size MAY prevent your system from crashing 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Dukascopy JForex JVM heap size MAY prevent your system from crashing 

JForex JVM heap size MAY prevent your system from crashing

 

This solution prevented my JForex from crashing. It was originally set at 512mb but it is now set at the max which is 4 gb approx. As this automated has survived the night, it appears this was the best solution so far. Also it has been running for well over 12 hours where the amount of heap spaced used is 14. gb out of 3.6 gb internally of JForex. I would recommend attempting this fix before another server with mega amounts of RAM like 32 gb for instance.

JVM=Java virtual machine

https://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=200&t=55277&p=91128&hilit=ram#p91128

 

Questions and answers new to forex trading

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Questions and answers new to forex trading

Questions and answer for jan 8

Please note that my time is highly limited. I am definitely scaling back on this Q&A as  I can only respond to people behind my paywall.

Queries from various sources with references below:

Hi Bryan Would you talk a little about automated arbitrage trading? What tools eg Dokascopy can setup rules for triangular arbitrage? And what if any tools exist for crypto currency arbitrage? Also, related to arbitrage, can you talk a bit about the mechanics of inter-exchange arbitrage trades? Do these tools move money between accounts to trade on different exchanges? Or are you limited to the trading pairs offered by a single broker? Thanks in advance!

I am hitting a “reservation for  python” link..

http://quantlabs.net/courses

 Oh no, there are other links to. https://quantlabs.store/collections/videos/products/interative-brokers-4-5-hour-workshop-bootcamp

Happy new year! I just RSVP’d for tomorrow’s meetup. Just to let you know I went over the JForex tutorials from DukasCopy, and also couple of your Intro from the playlist, as well the manual. We can probably chat tomorrow more in person but here is my feedback:

All these tutorials delve straight into the technical part of the platform without a proper Intro or overview. I am not able to see the flow or get the full picture from start to end.

Like do I need to decide on a currency pair first before connecting with JForex or would the strategy I build will determine the best currency pair to select?

I am new to Forex trading and have been going through other Intro tutorials on youtube. Right now I don’t know how to start or know which strategy to use or build. All these tutorials seem to assume that users are knowledgeable in Forex trading, is that right?

 I wouldn’t mind buying your Visual JForex tutorials if it helps newbies like me totally new to  Forex trading and strategies. Or do you recommend any other Forex tutorials I should go through before using DukasCopy?


——

https://www.youtube.com/watch?v=gb9G9pLEk1M&feature=em-comments

Complete newb to terminal – can you provide clearer instructions for installing? When I paste; git clone git://github.com/askmike/gekko.git into a new Terminal window it says “requires the command line developer tools”. Do I need to install something else before installing Gekko? I already installed nodejs as directed on the github page

https://www.youtube.com/watch?v=Bn2p-nkbVdE&lc=z23njraweobixxbnyacdp4330tahl01mqppsaarnl45w03c010c.1515343971113738&feature=em-comments———–

Well the big difference between ccxt and the others is tha ccxt is not a bot by itself. And also Blackbird is a special bot for doing arbitrage on different markets (that’s why it does not support so many exchanges). But I agree in how great ccxt is.

REPLY

1

IB is a great exchange. Their API is pretty straight forward. I was
thinking about FX and crypto. FX has small % changes that are highly
leveraged, which means more randomness and less profit, with the potential
for devastating losses. Crypto is a bullish sector where you could have
literally bought anything and made triple digit returns in the last 6
months. And with no leverage, so losses are restricted to each trade and
at worst you might have a 66% loss of one trade, but the upside is a
multiple of the loss potential in most cases. This skews the probability
distribution in a way that makes profit less risky. You can ask your quant
PhD about that, but pretty sure that is the case. I feel like my trades
have room to fly, and less likely to crash and take out my account along
with them. Leveraged trades drag down your account if they go south. My
trades are all 1:1 so they don’t affect my account outside of the trade
itself, and is very unlikely to go to 0. The gains can be 100% in a day,
which would be similar to a 100:1 leverage in FX, but without the downside
of losing more than the trade if it goes against you. And again, worst
case would be 50 or 60% loss maybe of just that one trade amount. Of
course you can adjust to your risk appetite. Just sayin, buddy, this is a
hot sector. For now. I am sure the US Gov deep state and banksters will
find a way to rob the people eventually.

Bryan Downing

Bryan Downing

4 days ago

that is correct about ccxd not being a bot but is a framework

REPLY—


Is this S & P Trading futures or Day Trading/Swing Trading? Like to be
part of it?

/>
Virus-free.www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
www.avg.com
www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail/>

REFERENCES:

 

https://quantlabs.store

 

Minimize loss with linear regression for algo forex trading

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Video courses on Interactive Brokers and Dukascopy forex automated trading

Warning ! Video courses on Interactive Brokers and Dukascopy forex automated trading 

 

Are you ready to pay double after Monday, January 8? We have three video courses that will be doubling within two days. It has been strongly recommended that this takes place before our marketing efforts starting in a week.

 

I made a quick video to showcase what these videos entaill at the currently low low prices that we are offering before they go up in two days.

 

The first product is a 4.5 hour video of my video on a live workshop to learn about the Interactive Brokers API. This goes into much detail of how to accomplish this using one of the best automated trading brokers out there! Do you realize that this is now part of my programming annual Elite subscription starting at $2800. This is probably the most affordable way to get a sample of how these courses work.

 

My next two videos are on Dukascopy forex trading for both non Programmer and programmer alike. Do realize that this broker does not take American residences as a customer at this point. If you do live in the USA, you can still work with the demo account to beef up your skills in automated trading for forex. You’ll just need to realize that Dukascopy will not take you as a customer. I still think it’s the best way to easily get into automated trading regardless of where you live.

 

As I said earlier, there is a six minute video to detail all the glory and all of these video products.

Just remember that they will be going up within two days of this email.

Go here to those deals at my QuantLabs.store (Powered by Shopify website)

Dukascopy Visual JForex for NON programming to do algo forex trading

Interative Brokers 4.5 hour Workshop Bootcamp

Interative Brokers 4.5 hour Workshop Bootcamp

True range forex trading market random performance video

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Minimize loss with linear regression for algo forex trading

True range forex trading market random performance video

I refer to linear regression below and in the long video below  There are 2 videos here on 3 trading sessions from this algo trading system I am working on. First is the long video of 1hr 50 minutes which explains each order text file my system generates. Do remember I am using Dukascopy JForex 3 which is the current version. I can also report that my system had recent problems where it hung after 5:15 earlier this morning. My local time is Eastern Daylight Time which is same as New York.

When you watch the videos, the key is to minimize the number of losing trades when you can take on new trades. It is imperative to measure the trend of bars before taking on the trade. I am using linear regression with my other 3 indicators in parallel for entry. Now there is a 4th but it seems checking for linear regression on each bar on 40 plus subscribed instruments will make your system hang like mine did. Just also remember I am using 14 gb system on Windows 10. I know but don’t ask. I plan to fix that with a new Linux based (eg. Ubuntu)  server with hopefully 64 gb system. I am looking at Dell t3610 tower which has good rating.

Anyhow, it is imperative to reduce or even eliminate those losing trades. I figure the linear regression (or same as trend line for technical analysis traders) helps here. Also, for the Jan 5 testing I was measuring 20 bars (each is 1 minute) but it maybe should be reduced to 5. I have certain flatline conditions which can mess this up with 20 bars. This is all theoretical of course but will try this Monday on the next trading day. I also highlight ways to improve the efficiency on the programming side in the 1hr 50 minute video below.

When you watch the video on the losing strategies, it needs to be understood the Dukascopy report does not distinguish between long and short trades. I also messed up in the videos of thinking short going negative would be profitable. This does not appear to be the case in the final demo reports. Who knows? We need to find ways to improve our trading profit potential.

More to come but I will expect to reduce the number of bad trades with improved linear regression checking for 5 bars instead of 20.

I do highlight in the long video that typical human greed can kick in as the positions/order life cycle can hit peaks before it closes/exits. It is very tough to build a systematic approach to the many trading conditions which are very random. Among my groups are the chatter about technical indicators like Bollinger Bands will help. I have found instances watching 1 minute price lines move way to fast before the Bollinger Bands catch it. I found once instance a currency pair lost 0.50 USD in just 6 bars. This could be virtually in seconds so these type of indicators may not be useful as one would think. I think it is quite hard for a human to track not just 40+ forex pair instruments at once , but it is very difficult to track every minute data bar. Just remember, my order text log file does track this as demonstrated in my long video.

There are way too many factors to consider when finding exit conditions because everything is so random or it just moves way to fast. It seems to best approach is to use the positions profit & loss (P&L) in US dollars is the best indicator out there. The hard part is to set targets on when to close but use stats to set that. I may have enough data but you want to ensure that you can let the profit potential run. As some examples clearly show they can do real well as in $7 on minimal amount traded is quite spectacular if you ask me.

 

 

 

Most stupid forex exit indicator could work? Average true range?

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Dukascopy Jforex historical tester is full of strange bugs

Dukascopy Jforex historical tester is full of strange bugs

 

This historical tester in Dukascopy JForex is pretty weird. I get this event error when trying to run my strategy:

2018-01-03 00:00:00 Exception java.lang.IllegalArgumentException: The chart cannot be opened for AUD/JPY, select AUD/JPY before testing @ jforex.strategies.sdk.QLNStratFXVol3d.setupChart(QLNStratFXVol3d.java:680)

I do leave the AUD/JPY open before trying this.

I can run it no problem in my demo account so I have no idea what is causing it. Nor do I care as I can just run this thing in regular test mode against all my 40 + subscribed currency pair instruments. I am sure this is caused by something stupid but it looks like sloppy internal programming to cause this. Not only that, you would think the idiot architecture person would have come up with better messaging. I have so much confidence that Dukascopy support is so useless it will get ignored or take a year for a fix. This is just one more reason why I believe ‘rolling your solution’ can work in your favor.

 

Link for instructions: https://www.dukascopy.com/wiki/en/forex-cfds/jforex/historical-tester

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Most stupid forex exit indicator could work? Average true range?

t is so stupid easy but it all comes down a simple metric. The only issue is you cannot get to greedy but statistically you should be able to make more money with it consistently without less risk. I am hoping to make more videos on this in the near future once i can figure it out. Forex exit indicator included average true range. 

Other indicators used

I have tried many of them including Average True Range (or ATR) . I also tried  Simple moving Averages with fast vs slow lines.

Watch my 11 minute video below to let me know what you think via commenting

My exit forex trading struggles

This video presents 8 random forex trading (from Dukascopy Jforex 3) positions that my current automated trading system picks up. It seems that the Average True Range and Simple Moving Average fast/slow moving crosses are lagging. The only reliable exit indicator is the equivalent of ‘take profit’ but I choosing potentially Profit N Loss in US Dollar for any open position. Would it not make sense to statistcially calculate the best target with most likely peak average of any position.

What this video reveals

This shows how random these positions. It is so random that there is no pattern but still some positions exceed $.70 for 0.001  amount traded. This is from my Dukascopy API which can call Profit and Loss  in US Dollars for any open order.

What to do? 

Should you use a combo of the Average True Range and Simple Moving together. Should you allow the trader to stay open e.g. as in hours? It seems the ATR is useful for the downside risk to protect your bad trades. It just seems that there are too many (money losing) trades as you can see in this video.

What would you do?

It seems you could any which way you would go concerning these combination of indicators. Someone even recommend Hull This was recommended within my private Telegram group:

For an idea of an exit, something I’ve tried in the past is using the Hull indicator set to a period of 2. When there is a large excess beyond something like a bollinger then that’s the end of a movement.

https://www.youtube.com/watch?v=mQCP8uiyZZc

Useful tips

Here is some very useful commentary from both my Facebook and Telegram groups:

First of all, it seems like the ATR values are way off (they are far too big), so maybe that is why the trailing stop using the ATR didn’t work? If you go to tradingview.com, go to a currency pair and select the particular timeframe that you are using, you can then load an ATR and see what the values should be. They should be more in the range of 0.005 for non-JPY pairs, depending on the timeframe being traded.

 

Also, you’re probably aware of this already, but it is expected that the PnL of positions will be negative when first opened because of the spread (buy at the ask, sell at the bid, and vice-versa). The positions that have a lower initial PnL are on pairs that have a higher spread.

And Facebook:

The entries are easy, exits are tricky 😀 Here I give you an example, try to reverse engineer it. Entered on 15th May 2017 on EURUSD with 7 pips SL. Holding over 1000 pips atm. That’s nice Risk-Reward Ratio, isn’t it?

Thanks to these highly useful commentary.

My conclusion:

It seems that my ATR was not correctly calculated thanks to Dukascopy API ATR indicator. I will need to manually correct the ATR.

 

Thanks Bryan

True range forex trading market random performance video

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!