Let's trade using computer science!

coensio


Altcoin maximum price calculator



This tool calculates the maximum theoretical price estimation for monero coin, with an assumption it will reach the same marketcap as Bitcoin with a similar supply level. The equation is:

MaxPrice(monero) = MarketCap(BTC) / (SupplyLevel(BTC) * MaxSupply(monero))
Note1: if “Supply” is equal to “MaxSupply” like for monero coin, then SupplyLevel(BTC) is set to 1
Note2: if “Supply” > “SupplyLevel(BTC)”, then SupplyLevel(BTC)* MaxSupply(monero) = “Supply”

SymbolParamValue
BTCPrice($): 6482.53
BTC MarketCap($): 112396M
BTC Supply: 17M
BTC MaxSupply: 21M
BTC SupplyLevel: 82.56%
SymbolParamValue
XMRPrice($): 108.28
XMRMarketCap($): 1788M
XMRSupply: 17M
XMRMaxSupply: 17M
XMRMaxPrice($): 6806.91


Usage: http://www.coensio.com/wp/altcoin-price-calculator/?ticker=TICKER, or click one of the tickers below:

GROWTH POTENTIAL (ROI) RANKING TABLE TOP 200:

monero *
x62.86


bitcny
x5265.48


ethlend
x5243.02


peercoin
x5056.49


ubiq
x5048.33


digitalnote
x5040.72


storiqa
x4821.27


nav-coin
x4770.65


boscoin
x4691.96


poa-network
x4608.2


vitae
x4217.94


c20
x4139.1


crypterium
x4135.83


wagerr
x3932.18


data
x3931.37


bnktothefuture
x3666.98


tokenomy
x3621.63


moeda-loyalty-points
x3617.79


poet
x3596.49


santiment
x3513.11


neblio
x3461.6


streamr-datacoin
x3452.81


propy
x3424.1


bread
x3386.74


ignis
x3384.95


odem
x3357.14


quantstamp
x3316.57


credits
x3260.89


centrality
x3257.75


iconomi
x3129.75


byteball
x3062.4


BridgeCoin
x3061.56


factom
x3042.48


nexus
x2890.96


waykichain
x2884.89


metal
x2878.08


tomochain
x2868.07


fusion
x2816.14


rlc
x2774.11


cindicator
x2719.75


emercoin
x2666.52


nucleus-vision
x2658.02


enjin-coin
x2654.54


time-new-bank
x2648.71


substratum
x2591.22


thekey
x2573.23


arbitrage
x2528.72


smartmesh
x2460.46


bitcoin-private
x2458.62


request-network
x2424.67


groestlcoin
x2405.36


nuls
x2385.19


vertcoin
x2362.82


singularitynet
x2303.9


RaidenNetworkToken
x2154.39


bluzelle
x2129.68


tronclassic
x2118.18


gochain
x2101.32


scryinfo
x1951.88


high-performance-blockchain
x1903.59


nxt
x1897.09


gifto
x1878.67


amber
x1873.49


endor-protocol
x1820.91


dynamic-trading-rights
x1788.6


revain
x1768.05


dai
x1745.91


genesis-vision
x1697.39


mobilego
x1657.35


telcoin
x1639


dropil
x1586.37


storm
x1574.34


syscoin
x1565


dragonchain
x1561.12


monacoin
x1547.32


pillar
x1543.42


theta-token
x1540.4


kyber-network
x1493.83


salt
x1487.56


cortex
x1468.65


bibox-token
x1447.86


enigma-project
x1443.91


ethos
x1418.95


pivx
x1417.98


paxos-standard-token
x1415.65


mainframe
x1406.28


everipedia
x1382.74


bancor
x1363.39


digixdao
x1349.42


cybermiles
x1305.28


ark
x1297.6


reddcoin
x1283.06


noah-coin
x1279.57


odyssey
x1270.38


bhpcash
x1195.96


MaidSafeCoin
x1176.18


Eidoo
x1172.96


tenx
x1157.12


loom-network
x1120.62


mixin
x1072.88


digitex-futures
x1050.66


rchain
x1017.44


civic
x1014.67


ardor
x997.09


linkey
x989.28


gxchain
x965.04


zip
x957.06


nexo
x955.46


wax
x941.25


storj
x939.51


funfair
x892.98


crypto-com
x877.39


loopring
x871.09


nebulas-token
x864.3


hypercash
x852.26


iotex
x804.43


moac
x798.59


power-ledger
x779.6


augur
x762.32


stratis
x759.57


komodo
x758.31


populous
x746.23


aion
x701.07


decentraland
x698.34


holo
x692.18


kucoin-shares
x690.88


golem-network-tokens
x681.44


zcoin
x668.96


wanchain
x664.19


gold-bits-coin
x657.31


trueusd
x633.29


qash
x626.61


waves
x569.51


polymath-network
x547.39


status
x544.35


aurora
x537.15


iostoken
x526.13


dent
x525.58


mithril
x518.8


matrix-ai-network
x517.76


verge
x510.6


metaverse
x495.1


steem
x493.72


eternal-token
x471.72


zencash
x470.01


bytecoin-bcn
x469.42


elastos
x467.47


waltonchain
x441.02


bytom
x435.45


nano
x417.9


aelf
x409.2


siacoin
x406.87


electroneum
x391.2


skycoin
x382.32


bitshares
x382.04


aeternity
x370.93


basic-attention-token
x357.99


lisk
x336.45


bitcoin-diamond
x315.37


zilliqa
x314.13


chainlink
x308.73


qtum
x304.46


cryptonex
x304.38


pundi-x
x299.32


digibyte
x291.28


nectar
x272.95


gas
x262.27


icon
x255.12


kin
x248.6


bitcoin-gold
x242.15


omisego
x237.82


quarkchain
x237.79


dogecoin
x231.14


maker
x204.8


zcash
x182.63


huobi-token
x168.36


0x
x155.24


ravencoin
x135.87


vechain
x135.38


decred
x131.33


tezos
x128.92


nem
x126.42


ethereum-classic
x108.69


iota
x82.53


neo
x82


ontology
x76.32


dentacoin
x73.55


binance-coin
x72.89


tron
x58.79


insight-chain
x47.95


dash
x46.85


tether
x44.72


cardano
x40.57


veritaseum
x38.29


litecoin
x30.85


eos
x22.89


bitcoin-cash
x14.58


ripple
x6


stellar
x5.4


ethereum
x5.35



Data source: coinmarketcap.com




The best crypto exchange
(Europe-based, trusted cryptocurrency market)




This article explains how to buy cryptocurrencies including the most popular Altcoins on a reliable European crypto exchange market called: LiteBit.eu. This market supports the following payment methods: iDeal, SEPA Bankwire, SOFORT, GiroPay, Bancontact and MyBank.LiteBit.eu

DISCLAIMER: I wrote this article myself, and it expresses my own opinions.Trading and investing in cryptocurrencies always comes with the big risk of losing invested capital. Buy cryptocurrencies at your own risk!


Below a step-by-step guide on how to purchase cyptocoins:


Step 1: Create your free account
Go to
LiteBit.eu website and click “Create new account”:
LiteBit registration 1
Fill your personal information:
LiteBit registration 2
Complete your registration by clicking activation link in your email box:
LiteBit registration 3

Note: In some cases before purchasing your first crypto-coins you need to complete at least “Tier 1″, verification. During “Tier 1″ verification the system will send you a SMS with a short code you need to enter in order to proceed with purchasing crypto’s. You can complete “Tier 1″ step, under “My account > Verification & Limits” page. Click here for direct link.



Step 2: Getting a free cryptocoin wallet
A “wallet” is a tool which is connected to an online decentralized ledger (database) and it is
used to store, send, or receive digital currency. The safest option is to get an offline wallet for each given currency type. However this requires installing many tools (since each cryptocurrency has its own wallet software) and storing information on external USB drive.  The easy way is to use free online wallet inside your LiteBit.eu account. Go to “My Wallet” tab and click on “Deposit” button for selected cryptocoin. 
LiteBit make wallet 1
After that you need to hit “generate” button in order to generate a new wallet address for selected currency. Note: in all cases you can always transfer your funds from

LiteBit.eu account to your offline wallet or a wallet software installed on your PC.
LiteBit make wallet 2
Step 3: Purchasing your cryptocoins
To purchase any desired cryptocoin just go click on currency symbol  in the main window, for this example: XRP icon:
LiteBit buy crypto coins 1Then fill in the required information like: amount of coins to buy, your payment method, your wallet address and hit “Next”.
LiteBit buy crypto coins 2
Note: Do not forget to check the “I agree” checkbox.

After that you can proceed with your usual payment routine:

LiteBit buy crypto coins 3

Step 4: Checking transaction status
To check if your transaction is finished, you can go to “My account > Order History”:
LiteBit buy crypto coins 4
Note: Depending on the crypto currency it can take few minutes to few hours to complete the transaction! Remember that each transaction need to be confirmed by crypto currency “miners” and it can take some time.



Conclusion:
The
LiteBit.eu is an easy, fast and reliable currency exchange market. It is based in europe which gives another level of confidence when compared to Asian based exchanges. I hope this guide will help you buy you first cryptocurrency without any problems.

P.S.: if you want to thank me by sending me 1 ripple ($0.20), my ripple address is:
rUqa1eMA6BaUScFWbwi3LBcSuUuA4Rvna6

Greets,
Chris


How to buy Ripple (XRP)? And why?
(click HERE if you want to buy other cryptocurrencies)




This article explains how to buy XRP coins and most importantly: why it is a perfect time to buy ripple coins right now.
 XRP coin
It is almost the end of 2017, the year of cryptocurrencies! The year where almost everybody has at least heard terms like “cryptocurrency”, “token” or “block-chain”. It is also the year where Bitcoin smashed all records and gained more than 600%! Cryptocurrencies are becoming widely accepted in our society. Big players in financial world like Goldman Sachs finally are recognizing the huge potential of the upcoming block-chain technologies.

However, for most people (even for forex traders) investing in cryptocoins is still something unfamiliar and out of reach. For those who are familiar with Bitcoins, it is probably already too late to “jump in”, Bitcoin is one huge bubble with the price sky-rocketing towards $10.000! I wish I’ve purchased Bitcoins at $0.20/BTC few years ago;) But I didn’t…so what are the alternatives?  

One of the most interesting developments in the world of cryptocurrencies is coin named: XRP (or the Ripple coin). This new coin is developed by a company with the similar name: Ripple. So what is so different about this new type of cryptocurrency? Here are the main characteristics:

  • It is invented by several Wall Street finance executives.
  • Its goal is to revolutionize the inter-banking payment networks and the project is supported by many international banks (more than 100 banks and still growing).
  • XRP is based on a decentralized ledger to track and verify all transactions (similar to Bitcoin), but it is backed by a central group maintaining the network.
  • The average transaction speeds are < 4s. (while Bitcoin transaction times can take as long as few hours!).
  • Ripple is now third largest cryptocurrency.
  • Ripple coin is 100% legal and it is protected from the criminal activities and the black market.
Summarized: XRP is the legalized version of a cryptocurency which is meant for the big players. Now use your imagination and think what will happen with the XRP price when this coin will become the mainstream payment transfer method between multinational banks… The current XRP coin price is ~$0.20. My own personal estimation of XRP price by the end of 2018 will be around $2 per XRP coin.

In case you are not convinced yet, please read this article by Richard Gordon on Seeking Alpha (free registration required, no strings attached).

Here is why I think now is a good time to “jump in”. Just look at the following graph from google trends (click on image to open):
ripple google trends
Every time I see something like that I get excited! This is a beginning of a new google trend. This means that people are just starting getting interested in the ripple coin. The price is still low and the potential upside is huge!


DISCLAIMER: I wrote this article myself, and it expresses my own opinions. I have no business relationship with Ripple company that is mentioned in this article. Trading and investing in cryptocurrencies always comes with the big risk of losing invested capital. Buy XRP at your own risk!


Below a step-by-step guide on how to purchase XRP:

Step 1: Getting a free coin wallet
A “wallet” is a tool which is connected to an online decentralized ledger (database) and it is
used to store, send, or receive digital currency. In case of XRP we will download a free desktop wallet (Win, Mac or Linux) from Rippex.net.
Ripple wallet download

Step 2: Creating a free wallet account
After download is finished, follow the usual installation routine and make sure you have a free USB stick where we will place a backup copy of you wallet. Follow the instructions from the video below to create your free wallet account.

IMPORTANT!: Do not forget to make a backup copy of your wallet information. Grab your USB stick make a new .txt file called “myxrpwallet.txt” and save your own secret keys:
Ripple wallet password
Passphrase: ********** (make sure you will remember this!)
Ripple address: rKhhe*********************gqaKhz
Secret key: sh**************************MjA4BJ


Additionally you can also store your wallet file onto your USB stick. You can find the location of your wallet file during authorization at rippex tool startup:
wallet file
For additional security you can zip it with zip password enabled (or even use external encryption methods like VeraCrypt) and put it in your secret place.

Step 3: Buying your first XRP coins
There are many different ways to purchase your first XRPs and transfer them into your wallet. The two fastest ways I know are:

A.
Worldwide: Using a credit card and an online exchange services like: Changelly.com
B. Worldwide: If you already have some other crypto coins you can exchange them on an exchange like : Binance.

In example below we will use exchange portal called
Changelly.com.

Step 3a: Go to
Changelly.com and subscribe (it’s free). Then enter desired value in USD you want to convert to XRP coins. And press “Exchange”.Changelly step 3a
Then press “Next”.Changelly step 3b
Enter your private XRP wallet address and press “Next”.
Changelly step 3c
Check again your address and confirm the transaction.
Changelly step 3d
Click “Pay with Visa/Mastercard”.
Changelly step 3e

Step 3b: IMPORTANT: At this point make sure you will enter your real valid telephone number! They will call you and will ask some simple questions like your name or last digits of your CC card to validate your identity. They always call within 5minutes so make sure your telephone is near you!
Changelly step 3f
Enter your Credit Card info and press continue.
Changelly step 3h
At this point you need to wait until someone will call you for verification.
Changelly step 3j
After short and quick verification your transaction should be completed within few minutes:
Changelly step 3m
Step 3c: Now the system needs to exchange the USD to XRP and send it to your Ripple wallet. This process can take few minutes to few hours! Don’t panic if you will not see anything happen within first 2h!
Changelly step 5
Remember that this transaction is based on online blockchain and needs to be verified. You can check the status of transaction verification using any external blockchain viewer like: blockexplorer.com. You need to wait until at least two confirmation will happen.
Changelly step 4
After transaction is successfully finalized you will see the following confirmation:Changelly step 7a
Step 3d: Now you can go back to your Rippex wallet tool and verify if transaction took place.
Changelly step 8

Step 3e: Note that most exchanges have daily and weekly limitations! This means that as a new user your transaction limit is $100 a day or you will need to wait 4 days until next transaction can be performed. Each exchange portal has its own policy, so always read the “small letters” and footnotes:
Changelly limits

Step 4: After you have acquired sufficient amount of XRP coins you can sit back, relax and watch the price of the Ripple coin (hopefully) rise into infinity;) For price monitoring I personally recommend free charting tools like: TradingView.

Conclusion:
Cryptocurrencies will become more and more important in the near future. We are now at a transition moment at which more and more people acknowledge the importance of blockchain technology. Seeing the crazy grow of other cryptocurrencies so far, one must ask himself, if “now” is not the last chance to “jump in” and secure his wealth for the future.

The biggest advantage of XRP coin is its low price and huge grow potential. Not investing your $500 dollars and see other people become millionaires over the next few years is much worse than
investing $500 dollars and losing them after all ;)

Think about this all and leave your comments below.

P.S.: if you want to thank me by sending 1 ripple ($0.20), my ripple address is:
rUqa1eMA6BaUScFWbwi3LBcSuUuA4Rvna6

All the best!
Greets,
Chris


How to backtest & optimize in MT4




Just like me, many of you are using the MetaTrader platform for daily trading using Experts Advisors. However, not many people know how to backtest in MT4 properly. In this short blog I will try to explain you the logic behind the EA optimization process on a MetaTrader 4 or 5 platform. If you do not know how to run the strategy tester on your MT4 platform then there are many places to go like YouTube to learn from. This article explains only the optimizing steps needed to get the best results during the optimization.

So here we go:

  1. How to approach mt4 strategy tester optimization
  2. Is 99% tick data accuracy one big lie?
  3. What level of tick data accuracy is needed for backtesting?
  4. Putting it all together

1. How to approach mt4 strategy tester optimization?

I will explain it on a simple example. Imagine we have a given trading system with the following trading results.
Backtesting in mt4
Now imagine today is the point where we have drawn a red vertical line. Of course we can not predict the future and the only thing that we can see are the backtested results from the past. So how can we make sure the optimized EA results are not curve-fitted and the optimized EA parameters have any chances of being profitable in the future? Let’s split our optimization process in two steps.
Strategy optimization steps
STEP 1:
Optimize a given trading strategy on a small historical data fragment, from a given date in the past (Start) until today (End). It is extremely important that the number of trades in the selected period is representative for the given trading system. You need to optimize using  at least 10% of the total number of trades which have occurred within history data range.

STEP 2:
Test if the optimized parameters found in STEP 1 are not curve-fitted! Yes, this is my big secret magic trick, that I use in my all trading systems, so read and think about the following sentence for a while, let it sink in:

If you can predict the past = most probably you will be able to predict the future!

Basically, if I see nice results on a backtest using history data which was never used during the optimization (so called out-of-sample period), then it gives me confidence, that selected set of parameters could also be profitable in the feature.

2. The 99% tick data accuracy is one big lie!

In my early days when I was just starting my adventure in automated trading, everybody was saying (and still is) “You need to use 99% tick data to backtest properly, 90% is garbage etc..etc…”. I was like: ohh man..I need always to have 99% modelling quality! I was obsessed by tick data accuracy. I spent hundreds of dollars on tools which gave me 99% accurate tick data….but then I’ve discovered the following:

The 99% accuracy visible after a backtest is
just a number in the FXT file header!
tick data modeling accuracy
And moreover what does it mean to have 99% of accuracy? The answer is: it doesn’t mean anything! It is just representation of tick modeling quality for the broker where the tick data comes from and in almost all cases it is Ducascopy tick data.
Furthermore in most cases people will use different broker with different tick prices, spread, latency etc…So 99% backtest data modeling is a myth, but 99% data is not entirely useless, read the flowing point.

3. What level of tick data accuracy is needed for backtesting?

There is one good answer: in best-case scenario you want to use the real broker live account data ticks. However this is only possible if:
  • You are using MT5 platform and run your optimization using: “Every tick based on real ticks” mode. (Even then, most brokers provide slightly “adjusted” tick data, so no, they will not let you win that easy, hehe)
  • Your broker will provide you the real recorded tickdata from a live account. (It does not happen a lot)
  • You know how to record live tick data by your self and know how to export it to strategy tester. (Too difficult for most people)
If you can not use one of above mentioned options, then a simple alternative, is to simply test your history tick data for accuracy. The key word is: results correlation.

In order to test your historical data for accuracy just run the following simple test:
  1. Run your (or any other) EA on a live account on a selected broker. To minimize the potential losses minimize the lotsizes of open positions.
  2. Collect the live trading results for at least few days (or even weeks) in order to capture different market moods and events.
  3. After that, backtest the same EA using exactly the same EA settings and using the same time period! (In this step you can use 99% modeling or the tick data you currently have)
  4. See how big are the differences in trading results between live and backtested data.
  5. If the difference in all critical parameters such as: number of trades (very important), drawdown and profit etc..are not that big, then your history tick data is sufficient to be used in optimization and backtesting. If the differences are significant, then you need to test it on a different broker or using different source of tick data.

4. Putting it all together

Trading strategy optimization and accurate result prediction is not an easy task, however it can really be achieved with a little bit of effort and practice. In order to achieve some level of confidence in your backtest, you need to make sure:
  1. Your EA settings are not curve fitted
  2. Trading results are also profitable outside your optimization period (in the past or the future)
  3. There is a good correlation between results from backtesting and optimization and the your live account
*** Bonus tip: The most important characteristic I’m using during selection of the best EA settings is the trading curve-shape! Ideally I want to see a straight line in upwards direction with as many trades as possible. If resulting trading curve has many dips (DrawDowns), then it means the strategy is risky since theoretically you could start your live trading precisely on a top before an upcoming DrawDown period and so blow up your account before making any profit. See a simple comparison between two different results below:


Greets,
Chris

P.S.: do not forget to like or share this article!


How to trade news




As you probably already know, there are many successful traders that trade on forex news from fundamental point of view. However, most of the traders get the concept of ‘news trading’ totally wrong and lose their money time after time. This is because they base their trading decision only on the fundamental market laws and fundamental analysis.

My statement: Trading by blindly following fundamental analysis is totally wrong!

In this article I will show you:

1. Why fundamental analysis does not work like you think it should?

Most people think that they can base their trades on a general fundamental view on the market and use few basic economic laws to predict the market direction. A simple example: when FED (The US Federal Reserve) raises the interest rates, the basic economic law says that the dollar should go up. This is because in this case, the dollar will become an attractive currency to hold (in any US bank) because of a high interest rate. In this scenario people would buy dollar and sell other currencies, dollar should go up!
fed raising rates
So let’s look at a real life example on what market does when FED announces a rate hike. For this example let’s look at the FOMC (Federal Open Market Committee) that took place on 15 March 2017 (Ms. Janet Yellen in the figure above). I have selected this example because March 15 was a very interesting day for a currency trader (but also for me personally). Below a screenshot from ForexFactory calendar:
FOMC news announcement
Click here to zoom in image

On that day, during a press conference at 8pm (CET time) the FOMC announced a new rate hike. The basic laws of economics say:

“When US interest rate goes up = dollar should go up = EUR/USD should go down”


So let’s look at the EUR/USD chart on that day in the evening:EURUSD rally
Click here to zoom in image

And the EUR/USD went up?? I guess many traders who were hoping to get few pips of profit on a stronger dollar were quite surprised ;) So what happened here? Apparently the market did not read the book called: “basic economics” and the EUR/USD pair went up instead of down?

And this is where the most traders are losing their money. Because one thing that most traders do not know, is that there is a huge difference between ‘expected news‘ and ‘unexpected news‘ events! When analyzing the
EUR/USD price movement on that evening, we can see that two different news events happened almost simultaneously:

A. Expected news: (News with already expected outcome) FED raised the US dollar interest rate during the FOMC meeting. This was ‘expected news’, because long before this news event, in previous weeks and days, there were many market rumors, that Ms. Janet Yellen from FED will finally announce another ‘rate hike’ during her next presentation. And the most of analysts gave up to 80% of probability of rate hike long before the FOMC meeting took place. Basically this interest rate raise was already ‘priced in’ by the market and all smart traders long before the news event on March 15.

B. Unexpected news: (News with unexpected outcome) On the other continent (in Europe), Dutch parliament election were taking place (in The Netherlands). And there was a big element of surprise related to that event, because nobody knew if Dutch populist party PVV would win or lose those elections. In case of winning this would be a very negative signal for Euro-zone and Euro would drop very hard. However it turned well for all of us (especially me since I am an emigrant living in The Netherlands) and the populist party PVV did not win those elections! On that day I was watching the Dutch television with my laptop on my lap and just in few seconds after first official exit-poll was announced the Euro went up like crazy!
forex major news event

Very important note: in most cases the ‘unexpected news‘ is not a direct ’cause’ of the market move, but rather just a catalyst of market forces that were already in place. Secondly, the only thing, we can relay on is the correlation between the ‘news’ and the ‘move’! The market moves only when the ‘news’ is supported by market sentiment (the collective herd behavior of all market participants). This is the most important sentence on this whole page. Please try to understand this, and you will become much better trader. So, in the example above, the EUR/USD went up, because the unexpected and positive news was supported by the overall bullish bias for the euro. This market behavior is can be explained by the concept called ‘teflon euro‘ (just google for it), which means that in most cases, the market will use any valid excuse (any positive news) to buy euro.      

2. How to trade the market news?

Strategy A: scalping the market directly after the news:
One
way to trade the news, is to trade only on ‘unexpected news’ (news with an unexpected outcome) and to enter the market very fast! In most cases the first reaction to the news comes just in minutes/seconds after the news release. After few minutes you are already too late to scalp the market and there is a big risk of pull-back since people will take their profits after just few pips of gain. In order to be very fast you need to have access to real-time information. One platform I can recommend is RANsquawk forex news service. This service provides real-time ‘no lag’ information updates, so you can trade all news without any delays and never miss any trading opportunity. If you want to read more about this service read more here:
RANsquawk
RANsquawk banner
Promotion: Exclusively for Coensio blog readers RANsquawk offers extended 2 week trial of their great service! Contact info@coensio.com for more info.

Furthermore, my free version of hedging EA contains a news trading option that makes you able to preset trade entry conditions based on pending horizontal entry lines on chart. You need to disable recovery option by setting EnableRecovery to ‘false’ and enable news trading option by setting EnableNewsTrading to ‘true’. This is an ideal tool for trading news events. You can learn more and grab it for free HERE.

Strategy B: Trading the
correlations between the news and market moves:
This is my favorite news trading strategy, since it is easy, clear and effective way for trading the news. In this strategy you can trade the news in direction dictated by the prediction which is based on the previous news releases and previous market moves. So for example when a given forex pair move (after a news release with a given outcome) was the same or similar for all previous 10 news events, then you have an increased chance that it will happen again! Here is how it can be done:

Step 1: Find a high impact news event
In order to find all high impact news events, you can go to free
ForexFactory calendar and select only red flagged news. Then select any news event you want to trade oNews Trading step1
Click here to zoom in image

In this example let’s select ‘Michigan Customer Sentiment = UoM’ as our target.

Step 2: Find a correlation between the news and market move

This steps requires an external tool (see automatic selection below) or some data mining skills (manual selection).

Manual selection: For example you can use forex calendar filtering option to filter out only the selected news event for the past 12 months. Then you need to open a chart (on your MT4 platform) of the related currency (currency pairs) and mark all dates where this particular news event has happened. Then you need to seek for market reaction correlations by looking in which direction market has moved directly and within few hours after the news release.

Automatic selection: There are many tools that do this work for you. I’m using the “events & trade” portal which is available on my broker: markets.com. Here is how it looks like:

News Trading step2
Click here to zoom in image

This simple web portal not only tells you what are the best upcoming news trading opportunities, but it also analyses up to 12 previous outcomes and it calculates probability of profitable trading in direction dictated by the news. You can read more about this tool here: Visit “events & trade” website.
Events and trade
For this example we will target USDCAD pair which has a 80% probability (
for a profitable trade) in case when the ‘Actual’ value provided during the news will be higher than the ‘Consensus’ (the forecast) value. See figure below:
USDCAD trade prediction

Step 3: Setup your trade and wait for the news.
So in this example we can tell upfront that when the
‘UoM Consumer Sentiment’ news will result in a ‘Actual value > Consensus’, then we have a big chance that USD/CAD pair will move in the ‘BUY’ direction within 4h and 12h time-frames. Lets see what happened in this case:
News Trading step4
Click here to zoom in image

In this case the outcome from news was positive, since 98.0 > 97.1. Let’s see what was th reaction on USD/CAD on this positive news:
News Trading step3b
Click here to zoom in image

So in this case the price moved as predicted, this would result in a profitable trade!

3. How to avoid trading during news?

If you would like to avoid trading during the news releases and avoid fast market moves, you can look at my EaBlocker indicator. I have created a simple indicator that allows you to automatically disable AutoTrading during given hours and also on major market news releases.

You can read more about it on the product page: HERE.


4. Conclusions:

- To summarize we can say that forex market (like any other market) is driven by not more than three factors:

  • Long term forces dependent on global fundamental view (e.g: policy of central banks)
  • Short term rallies on unexpected news events (e.g: Geo-political events)
  • Market sentiment (I will discuss this in one of my next posts)

- For successful trading during news events you can use one of the following strategies:

- If you want to avoid trading during news, you can use my EaBlocker indicator.


Talks soon!

Chris

Follow me on Facebook:


Stocks to buy now!


Coensio score
(1..10)
Company
Ticker
Buy/Sell/Hold
Reason
9 Amazon AMZN Strong Buy
See TipRanks
10
Nvidia NVDA Moderate Buy
See TipRanks
9
Microsoft Corp MSFT Strong Buy See TipRanks
8 Micron MU Strong Buy See TipRanks
7 Advanced Micro Devices AMD
Moderate Buy See TipRanks
9 Google GOOG
Strong Buy See TipRanks
8 Facebook FB Strong Buy See TipRanks
8 Bank Of America
BAC Moderate Buy See TipRanks



During the last 14 months I have made over 200% of profit, just by following my simple strategy while selecting only the best stocks to buy.

On this blog I will share with you every single step I take while selecting only the good stocks to buy. Note that ‘buy’ is the main keyword here since this strategy covers only the good stocks that are worth buying and the companies that are worth investing in.



Here is how to find the best stocks to purchase today

To find the best performing stocks right now, you need to learn the following:

1. Why it is ‘always’ better to buy stocks

It is very simple. There are three main reasons why it is better to be bullish about stock market then to look for selling opportunities (and go ‘short’):

  • Looking at the past performance of stock indices like S&P500, Nasdaq or Dow Jones, you can easily see that when looking at the long term period the stock prices are ‘continuously’ rising. The current bull market conditions is 8years old (anno. 2017). Of course this is true for periods ‘out side’ big depressions and markets crashes, which also happen periodically.
  • The second reason is that the technology and world wide economy are growing in an accelerating way. And it is much more ‘comfortable’ to think that the best companies like: Google, Amazon or Microsoft will continue to grow in the long term.  
  • You can enjoy yearly dividend payouts! The majority of the best performing stocks pay out a nice yearly dividend up to 4%! 
bullish stocks

2. The sources of reliable information

While looking for the best stocks, you can get lost in the amount of the provided information. There are so many websites, paid portals, blogs, smartphone apps..it is hard to say which source is worth to follow and which is pure garbage. So let’s say that I have already been in this situation and I’ve already prepared a list of best places you can go to learn about the best stocks to buy. So below is my top 3:

http://investorplace.com/category/stock-picks/stocks-to-buy/

https://www.fool.com/

http://seekingalpha.com/stock-ideas/editors-picks

Those three websites will give you access to the best quality stock market investing ideas and the best stock picks you can get for free. Those investing recommendations are provided by the professional hedge funds managers, Wall Street analysts and also financial bloggers. Now the ‘only’ thing you need to do is to select few high quality companies to invest in;) Reading all those articles will give you a good idea about what are the best performing companies and what stocks you should avoid buying.

So the biggest problem is that most people will get lost in the huge amount of the provided information. Since it is impossible and very unwise to follow every single stock recommendation, we need to do our own post-analysis and see what stocks are really worth buying. See next point.

3. How to do your own stock market analysis

You really do not need to have a master degree in economics to be able to tell if a given company is worth investing your money or not. There are only few key parameters (or indicator) that you need to look for while selecting best stocks to buy. Those are:
  • The overall fundamental picture of market mood and future opportunities
  • P/E ratio
  • Pervious earnings (previous performance) and earnings estimations
  • Stock price trends and sentiments (on chart technical analysis)
The overall fundamental picture of market mood and future opportunities:
All experienced traders say: “in order to be successful in trading you need to become one with the market”. This basically means that you need to be fully ‘synchronized’ with the market events and market moods = you need to be 100% up to date. Note that there are two things you need to master in your trading: Fundamental Analysis and Market Sentiments (based on technical analysis). Those two, are the most powerful tools you can use while
forecasting the next market movement. You need to learn how to do your own analysis or know where to go to find this information. Lucky for us, there are many places on the net that are providing a full day by day market coverage, my favorite two are:
https://www.bloomberg.com/
http://money.cnn.com/

P/E ratio:
Price to Earnings (per share) ratio is the most basic measure that can tell you if a given stock is cheap or expensive at a given price.

P/E= Market Value per Share / Earnings per Share

There are many places, books and online video’s that are explaining this concept (click here). If you want to know how to select best stocks to buy you need to learn about the basic concept behind P/E figure and how it can affect buying decision. The ‘rule of thumb’ says that a stock with a lower value of P/E is considered ‘cheaper’ than one with a high P/E figure. Just google it if you want to learn more.

Previous earnings and earnings estimations:
Earnings estimations for a given company can be also a very powerful tool you can use to predict the next stock price movement. Previous earnings can tell you if a given company is doing OK or not so well. My personal recommendation is to always invest your money into companies that show a stable grow in quarterly earnings and gross profit. You can go to yahoo finance website to see the previous earning numbers and also estimated figures. Below an example of Amazon stock:
Amazon Earnings
The second way to tell given stock is worth buying, is to look on earnings estimation numbers:
Earnings Estimation
When estimated number is much lower than actual or previous number, there is a chance the stock price will drop during or even few weeks before the earnings date (the date when companies release their earnings numbers). The rule of thumb tells us: “buy the rumor, sell the news”. In practice it means that if you expect good earnings numbers of given company you should buy the stock far before the official earnings date.

Stock price trends and sentiments:
There is one important thing you should know when trading stocks, forex or commodities: fundamental analysis (predictions done by professional market analysts)
does not work 100% of time, it works only when market is in a trend. There are many, many reasons for that, but the most important one is that the price movement forecast is always lagging behind the market sentiment. Quote from Seeking Alpha article:
Market Forecast
So in order to become successful trader you need to learn how to recognize when fundamental analysis aligns with a market trend or sentiment. The good start would be to master the basics of ‘Elliot wave‘ theory.

4.
How to find great stocks just in 5 minutes each day
I can imagine that stock trading can be a little bit overwhelming for a beginner. Or that there are many people with full-time job and families with small kids, that do not have time for continuous reading, watching market news and doing market analysis. Therefore I have personally selected two options that you can use for your daily trading, when your trading time is very limited:

This is a professional, daily news letter which covers the best investing opportunities every single day.
 DailyInside Best Stocks


This is a professional portal (a search engine like google) which evaluates public stock recommendations made by professional financial analysts and bloggers. The search results are ranked by experts based on their accuracy and performance from their past predictions. Below a simple example of how a typical TipRanks search result looks like:
TipRanks Analysis
For each single stock you a considering to buy this great tool can tell you the following:
  • The current ‘buy/sell or hold’ recommendation of the best market analysts
  • The mid/long term price range prediction
  • The insider buy/sell actions (extremely strong buy or sell signals) 
  • Financial bloggers recommendations
  • The current recommendation of all experts who have already successfully predicted price movement in the past for a given stock
  • Currently trending stocks
  • Many many more….

Get My Special 10% Discount: Use Coupon Code: COENSIO

 
TipRanks Discount Coupon Code
Purchase FULL version
Get a free DEMO version
(Demo works only on AUDCAD pair)

Free ArrowHunterEa DEMO



If you need any help I will customize EA and integrate any indicator for you for just €40. Just contact me HERE so we can discuss the details.





User Manual of Arrow Hunter EA (F.A.Q)

    1. Installation and activation
    2. Overview of EA parameters
    3. Common issues / F.A.Q
    4. EA Customization
    5. Last words


    1.Installation and activation

    1a) Make sure the EA is installed in your local MQL/Experts directories. Depending on your system configuration this will be one of the following directories:
    Instalation step 2a




    1b)
    Make sure the Auto trading and DLL imports are enabled:

    Instalation step 2b

    1c)
    Activate your EA:

    DEMO version: If you are running demo version make sure the LicenseKey EA parameter is set to ‘DEMO’ and you have entered valid email address in EmailAddr field. After that go to your mailbox and activate this product by clicking on the provided link in the welcome email.

    FULL version: If you have purchased this product you should have received a welcome email together with a valid LicenseKey code. Enter this code into EA LicenseKey parameter and then just run the EA.

    Note: If you did not get any email, check your spam folder as well.

    2.Overview of EA parameters

    Bellow an overview of the EA parameters and functions:

    2a) ReverseOnOppositeSignal:
    This parameter enables and disables the automatic trade reversal mode. For example if EA is trading ‘long’ and an external indicator displays new ‘short’ entry signal on chart (e.g.: a down-arrow), then the current BUY order is closed and a new SELL is opened immediately.
    When
    ReverseOnOppositeSignal is set to ‘true’ the TakeProfit and Stoploss EA settings need to be configured in such way that they do not interfere with the reversal signals (e.g.: by setting SL and TP to very high values: 200pips)

    2b) AnalyzeEveryTick:
    This parameter enables and disables the Tick logic execution. When set to ‘true’ all logic is analyzed at each market tick, when set to ‘false’ the logic is analyzed only on new candle. Note that setting this flag to ‘true’ can dramatically slow down backtesting speed. However some indicators provide new signals within last candle and so require fast signal execution.

    2c) EmaEntryFilterPeriod:
    This parameter enables an additional EMA based entry signal filtering mechanism. The following figure explains its operation:
    EMA filtering example

    2d) SignalEntryMode:
    This parameter has two options: ‘FromChart‘ and ‘FromIndicatorBuffer‘. Those options tell the ArrowHunterEA where it must look for its entry signals.

    FromChart mode: In this mode the EA will look for entry signals by analyzing the objects that are displayed on chart by any external indicator. IMPORTANT NOTE: in order to make it work the displayed objects like : arrows, dots, thumbs up/down etc..must be real chart objects, and must be ‘clickable’. You can easily check if the object on chart is clickable by clicking on it and displaying its object parameters (right mouse click). See parameters in point 5.

    FromIndicatorBuffer mode: This is an advanced of operation. In this mode the EA will access and use the internal buffers of an external indicator with a given name. The indicator buffers and their values can be displayed by pressing ‘CTRL+D’ on chart where a selected indicator is attached. This operation mode is required in case when the attached indicator does not display ‘clickable’ chart objects, but only shows the internal buffer data. Read more at point 3h) and the following.

    2e) CheckPreviousCandles: (When SignalEntryMode=FromChart)
    This parameter indicates how many previous candles need to be checked for potential entry signals. In most cases we only need to check up to 6 previous bars and look if there are any signals on chart. Note that this parameter becomes handy in case when you need to deal with delaying indicator, that displays delayed signals.

    2f) LongArrowCommonString and ShorArrowCommonString: (When SignalEntryMode=FromChart)
    This setting tells the ArrowHunterEa, what object names it should analyze while looking for valid entry signals. Note that each ‘clickable’ object has its own name and in most cases the signals share a common string like: “BUY/SELL” or “long/short”. This setting will help EA to filter out only objects that need to be used as entry signals. See figure below, where an object contains a “BUY” string as common signal name:

    Convert Indicator To EA

    In this case we would set LongArrowCommonString=BUY and ShorArrowCommonString=SELL.

    2g) LongArrowCode and ShorArrowCode: (When SignalEntryMode=FromChart)
    This setting is very similar to the ‘Long/ShortArrowCommonString‘ parameter, however in this case the EA will look for chart objects with a specific code. Example:

    Indicator To EA converter

    In this case we would set LongArrowCode =233 and ShorArrowCode=234.

    2h) IndicatorName: (When SignalEntryMode=FromIndicatorBuffer)
    This parameter defines the name of selected external indicator, like: “Scapler V2.0″ or “traderdream” etc..This name will be used to call the internal indicator buffers from the EA code. This is an advanced option ans should be used only by experienced users who know how to deal with indicator buffers.

    2i) NumberOfBuffer1/2: (When SignalEntryMode=FromIndicatorBuffer)
    Those parameters define the internal buffer numbers of the selected indicator. To display the indicator buffers you need to attach the selected indicator on chart and hit ‘CTRL+D’. Below an example of internal indicator buffers:Indicator buffers example

    The figure above shows a typical setup of the internal indicator buffers. In this case we would like to work with Buffer1 (NumberOfBuffer1=0) indicating BUY condition and Buffer2 (NumberOfBuffer2=1) indicating a SELL condition. See next point.

    2j) Buffer1/2ValueGreaterThan,Buffer1/2ValueSmallerThan: (When SignalEntryMode=FromIndicatorBuffer)
    After that internal buffer access is defined (see previous point), this set of 4 parameters can be used to define desired entry condition. In this example we can see that the indicator changes the value of Buffer1 from 0 to actual bid price during a ‘long’ entry condition, and Buffer2 value is changed from 0 to actual ask price during a ‘short’ entry period. We need to tell the ArrowHunterEA when to execute BUY and SELL trades. For this special example we will set the following:

    Open BUY order when:
    Buffer1ValueGreaterThan=0 AND Buffer1ValueSmallerThan=10000

    Open SELL order when:
    Buffer1ValueGreaterThan=0 AND Buffer1ValueSmallerThan=10000

    This settings will tell EA when to open BUY and SELL without looking on chart objects.

    2k) BarShift (When SignalEntryMode=FromIndicatorBuffer)
    This setting tell the EA how many of previous candles need to be analyzed while looking for a valid entry condition. (Similar to ‘CheckPreviousCandles’ setting when SignalEntryMode=FromChart).

    2l) EA locking settings:
    Some times it is desired to lock the EA during selected marked hours or close all orders at specified date. This is possible using these settings:

    AllowedTradingHours: Defines the allowed trading hours separated by comma: 12,13,14,15,16,20,22,
    AllowLongTrading: Disables and enables trades in ‘long’ direction
    AllowShortTrading: Disables and enables trades in ‘short’ direction
    MaxSpreadPoints: Defines the maximum allowed spread in points when opening new trades
    TimeToCloseOrders: Defines date and time when all open trades need to be closed

    2m) Common EA settings:
    Those are the common EA settings, and are in most cases self-explanatory. Below the list of common EA settings:

    MagicNr: Defines your selected magic number 
    LotSize: Defines selected Lot size for all orders            
    MmRiskPerc: When different than 0, the EA will calculate the LotSize automatically using the percentage of accounts balance and defined StopLoss. E.g.: set it to 2 to risk only 2% of your account balance with selected StopLoss level.         
    TakeProfitPips: Take profit level in pips
    StopLossPips:  Stop loss level in pips       
    TrailingStopLossPips: Trailing stop loss step in pips, when set to 0 trailing is disabled
    BreakEvenPips: break even level in pips from entry price, 
    when set to 0 break even is disabled       
    SlippagePoints: slippage level in points

    3.Common issues / F.A.Q

    3a) ‘I can not download my DEMO EA, and my browser displays strange code':
    This ‘page of code’ is the actual ArrowHunterEA in ex4 format. This means your browser does not recognize this binary ex4 format, in that case you need to safe this page of code as ‘CoensioArrowHunterEaV03.ex4′. Please do not change the name of this file it will not work under a different name.

    3b) ‘I enter my email address in EmailAddr filed but do not received any email':
    Please make sure you enter a valid email address! I see a lot of people entering fake email addresses with hope that EA will activate itself. Check also your spam folder for any messages from: coensio.com.

    3c) ‘I got an activation link in email, but the link does not work saying ‘Undefined offset’‘:
    This is probably ‘link formatting issue’
    :
    “Undefined offset: 1 in /public/sites/www.coensio.com/ea/FreebieDB3ArrowHunter/FreebieDB3ArrowHunter.php on line 71.”
    In order to fix this please copy the whole activation link from email and paste it to any text editor, remove all “white spaces and ‘%20′ codes”, examples:

    Case1:

    http://www.coensio.com/ea/FreebieDB3ArrowHunter/FreebieDB3ArrowHunter.php?str=2lvenGucnmgbH9zZX57c26qRGypZnVycy5peEtkb36mbYJu

    Solution1: As you can see this is not a valid link, copy it and paste manually to your browser and remove ‘%20′ characters from link:
    http://www.coensio%20.com/ea/FreebieDB3ArrowHunter/FreebieDB3ArrowHunter.php?str=%202lvenGucnmgbH9zZX57c26qRGypZnVycy5peEtkb36mbYJu

    3d) ‘How can I see that my EA is initialized properly?’‘:
    You can see it by displaying the ‘Experts’ tab on your MT4 platform, if everything is ok you should see the following:
    InitOKExample

    4.EA Customization

    In case this EA somehow will not be 100% compatible with your indicator of you would require additional features just let me know. Here on my blog I provide a high quality programming/coding service and I can implement your craziest ideas for very reasonable hourly rate of €20/h. More information at:

    http://www.coensio.com/wp/ea-programming-service/


    5.Last words

    Please note that this project is not an easy EA to work with and it requires some patient and practice. If you will find any bugs or errors please let me know and I will fix it for you. And finally:

    If you will find a profitable setting + indicator please
    share it here with our great community!




    Greets,
    Chris & Coensio Team

    P.S.: and do not forget to like this page ;)


    Hi traders!

    If you want to burn your fingers on Binary Options trading, then do it right and use MetaTrader platform;) So, lately I did some investigation on how to connect MT4 or MT5 metatrader to a binary broker like “binary.com“. It seems there are 3 options to interface your EA with an external binary option broker:

    • 1. Using a dedicated API
    • 2. Using customized OrderSend() query
    • 3. Using a mouse control interface
    I have found solution for all three possibilities but in this short example I will describe only first one, which can be added within few minutes to your EA code.


    1. Connect your MT4 or MT5 EA using a dedicated API interface to your binary broker:


    In order to connect you EA to binary.com broker you need to follow the following steps:
    1a). Go to your API dashboard on binary.com website and get your own API token using the following link:

    GET YOU API KEY HERE

    binary options on MT4
    1b). Write down your API token (YourApiKey)
    1c). And here comes the nice part. I did all hard work for you, so only thing you need to do, to open a new trade on your binary account, is to visit the following link, with the following format:

    BUY ORDER:
    http://fx.coensio.com/nodejs/coensio_trade_bo.php?cmd=YourApiKey|Symbol|BettingValue|ExpireTimeInMinutes|CALL|MaxContractPrice
    Example:
    http://fx.coensio.com/nodejs/coensio_trade_bo.php?cmd=shNiLECJ8TqJu|EURUSD|10|1|CALL|5.72

    SELL ORDER:
    http://fx.coensio.com/nodejs/coensio_trade_bo.php?cmd=YourApiKey|Symbol|BettingValue|ExpireTimeInMinutes|PUT|MaxContractPrice
    Example:
    http://fx.coensio.com/nodejs/coensio_trade_bo.php?cmd=shNiLECJ8TqJu|EURUSD|10|1|CALL|5.72

    Note that the last parameter “MaxContractPrice” is used to exacute contracts or binary option orders only with a defined “PayOut” rate. In this example the contract price is limited to $5.72. With a “BettingValue” equal to $10, this results in: ($10-$5.72)/$5.72=0.75 or 75% payout rate. And in order to be profitable with your binary option trading you do not want to take orders with a payout rate lower than 75%!

    That’s it!

    But there is more: having an url based interface we can easily execute trades directly from our MT4 or MT5 EA code. This because MT4 and MT5 allow external URL calls. Below an example of EA that can automatically open binary option positions from the MQL code.
    
    //+------------------------------------------------------------------+
    //|                                     CoensioBinaryOptionEaV01.mq4 |
    //|                                         © Copyright 2017 Coensio |
    //|                                           http://www.coensio.com |
    //+------------------------------------------------------------------+
    #property copyright "© 2017 Coensio.com"
    #property link      "http://www.coensio.com"
    #define VERSION "1.00"
    #property version VERSION
    
    input string      ReadMoreAt           = "http://www.coensio.com/wp/trade-binary-options-with-mt4/"; 
    input string      TRDE                 = "==== Trading Settings ===="; 
    input string      ApiKey               = "Your API Key";
    input int         BettingAmount        = 10;
    input int         ExpirationMinutes    = 5;
    input double      MaxContractPrice     = 5.72;
    input string      Url                  = "http://fx.coensio.com/nodejs/coensio_trade_bo.php?cmd=";
    input bool        SendTestTradeOnInit  = false;
    
    //Web request params
    string            Cookie=NULL,Headers;
    char              Post[],Result[];
    int               Timeout              = 300000;
    int               Res;
    string            TxCmd                = "";
    
    int OnInit()
    {
    
       if(SendTestTradeOnInit)
       {
          //Format: http://fx.coensio.com/nodejs/coensio_trade_bo.php?cmd=ishNiLECJ8TqJuY|Symbol|BettingAmount|ExpirationMinutes|PUT or CALL|MaxContractPrice
          TxCmd=ApiKey+"|"+Symbol()+"|"+IntegerToString(BettingAmount)+"|"+IntegerToString(ExpirationMinutes)+"|PUT|"+DoubleToString(MaxContractPrice,2);
          Res=WebRequest("GET",Url+TxCmd,Cookie,NULL,Timeout,Post,0,Result,Headers);
          Alert("Remote Trade: ",Url+TxCmd);        
       }
       Alert("Read more at: http://www.coensio.com/wp/trade-binary-options-with-mt4/");
       return(INIT_SUCCEEDED);
    }
    
    void OnDeinit(const int reason)
    {
    
       
    }
    
    void OnTick()
    {
       /*
       
       //Go Long
       if(your BUY entry condition == true) 
       {
          //Request: http://fx.coensio.com/nodejs/coensio_trade_bo.php?cmd=ishNiLECJ8TqJuY|Symbol|BettingAmount|ExpirationMinutes|CALL|MaxContractPrice
          TxCmd=ApiKey+"|"+Symbol()+"|"+IntegerToString(BettingAmount)+"|"+IntegerToString(ExpirationMinutes)+"|CALL|"+DoubleToString(MaxContractPrice,2);
          Res=WebRequest("GET",Url+TxCmd,Cookie,NULL,Timeout,Post,0,Result,Headers);   
       }
       //Go Long
       if(your SELL entry condition == true)
       {
          //Request: http://fx.coensio.com/nodejs/coensio_trade_bo.php?cmd=ishNiLECJ8TqJuY|Symbol|BettingAmount|ExpirationMinutes|PUT|MaxContractPrice
          TxCmd=ApiKey+"|"+Symbol()+"|"+IntegerToString(BettingAmount)+"|"+IntegerToString(ExpirationMinutes)+"|PUT|"+DoubleToString(MaxContractPrice,2);
          Res=WebRequest("GET",Url+TxCmd,Cookie,NULL,Timeout,Post,0,Result,Headers);   
       }
       
       */
    }
    
    
    *** IMPORTANT ***
    Before you can run external URL calls you need to add my server to allowed URLs in MT4/MT5 options. To do so, go to Tools->Options on your MT4/MT5 window and add my server to allow URLs:
    binary options on MT4
    You can download the source code for MT4 or MT5 platform using the links below:

    BinaryOptionEa for MT4
    BinaryOptionEa for MT5



    2. Interface MT4 or MT5 EA using customized binary options OrderSend() function


    The second best way to interface your EA with a binary broker is by selecting a broker which already provides possibility to open binary trades from withn the MQL code. Two examples of brokrs that are supporting MT4 platform, are:
    DirectFx
    GoMarkets


    Both brokers provide a simple way of executing Binary Orders using customized OrderSend() function as show below:
    
    if(Direction=="BUY")
    Ticket = OrderSend(Symb, OP_BUY, BettingAmount, 0, 0, 0, 0, "BO exp:"+DoubleToString(ExpTimeMin*60,0), MagicNr, 0, clrBlue); 
    if(Direction=="SELL")
    Ticket = OrderSend(Symb, OP_SELL, BettingAmount, 0, 0, 0, 0, "BO exp:"+DoubleToString(ExpTimeMin*60,0), MagicNr, 0, clrRed); 
    

    Where "BettingAmount" is the value of your bet and "ExpTimeMin" is the expiration time in minutes.


    3. Interface MT4 or MT5 EA with your binary broker using a mouse click function


    Many people do not know that it is possible to execute mouse clicks on specified X/Y locations from the MQL code. In this way it is possible to "click" on an external button, e.g.: on a website of a binary broker and so to control your binary trades using logic directly from the EA code. This smart mechanism opens doors to many different brokers that do not provide MT4 or MT5 trading platform for binary options. This is a complex solution and for now, I've decided not to share my source-code for free. If you are interested in this option just contact me on my email.
    Metatrader to mouse interface



    If you have any questions about this or other two possibilities to integrate your binary option trading with metatrader or just like this post please let me know and leave your comment!
    If you need any help with EA coding please visit my EA coding service page: HERE

    Greets,
    Chris

    Hi fellow traders!

    One of the most frequently asked questions I get from my blog readers is how to handle market spread when opening new orders using MetaTrader platform. So in this section I will try to illustrate how I handle Spread vs Stop Loss and Take Profit levels. So let’s first look in the MQL4 manual (MQL4 is the programming language of MT4).

    Source: https://docs.mql4.com/trading/ordersend ordersend with stoploss

    In the example above a ‘Buy’ order is opened at ‘Ask’ price, with a StopLoss and TakeProfit levels equal to minimum allowed StopLoss distance from the current ‘Bid’ price. Using the ‘Bid’ price as reference for SL/TP levels, is the recommended way of opening orders, but is this really the best way?..So it depends on your risk-reward ratio. Most of my own trading systems require a risk-reward of 1:1, so for example: StopLoss = 10 Pips and TakeProfit = 10 Pips. Let’s see what would happen if I have followed recommendation from the MT4 manual and used ‘Bid’ price as reference point for my TP and SL levels: In this configuration, with assumed spread of 2 Pips, my EA would make only 8 Pips hitting profit and would loss 12 Pips when hitting my StopLoss level. If my trading system had a 50% winning ratio I would be only losing my money!

    So how to deal with spread when opening new market positions?


    The answer is very simple: Always use your entry price as SL and TP reference. This means using ‘Ask’ for Buy orders and ‘Bid’ levels for ‘Sell’ orders. In this configuration the EA will always win and lose the same amount of money. Using this approach you need only a winning ratio of 51% in order to be profitable on the long term. (this of course not including slippages and broker commissions).

    However, there is a big ‘BUT’ for this strategy! You should avoid spread widening, which can be introduced by your broker e.g.: during high volatile events like market news release. The code below show how to avoid spread widening and how to set SL and TP using entry levels.

    
    bool OpenBuy()
    {
       //Get new market prices
       RefreshRates();
       
       //Define lot size
       double Lots = 0.1;
       int LotDigits = (int) - MathLog10(SymbolInfoDouble(Symbol(),SYMBOL_VOLUME_STEP));
       double LotSize=NormalizeDouble(Lots,LotDigits); 
       
       //Calculate and check spread  
       double MaxSpreadInPoints = 50; 
       double Spread = Ask - Bid;
       if(Spread>MaxSpreadInPoints*Point)
          return(false);
       
       //Define allowed slippage
       int SlippageInPoints = 20;
       
       //Define TakeProfit and StopLoss levels 
       double TakeProfit = NormalizeDouble(Bid+Spread+10*PIP,Digits);
       double StopLoss = NormalizeDouble(Bid+Spread-10*PIP,Digits);;
    
       Ticket=OrderSend(Symbol(),OP_BUY,LotSize,Ask,SlippageInPoints,StopLoss,TakeProfit,"Spread Test",MagicNr,0,Green);
       
       if(Ticket==-1)
       {
          Alert("Buy Error: " ,GetLastError());
          return(false); 
       }
       if(Ticket>=0)
       {
          return(true);
       }
       
       return(false);
    }
    
    bool OpenSell()
    {
       //Get new market prices
       RefreshRates();
       
       //Define lot size
       double Lots = 0.1;
       int LotDigits = (int) - MathLog10(SymbolInfoDouble(Symbol(),SYMBOL_VOLUME_STEP));
       double LotSize=NormalizeDouble(Lots,LotDigits); 
       
       //Calculate and check spread  
       double MaxSpreadInPoints = 50; 
       double Spread = Ask - Bid;
       if(Spread>MaxSpreadInPoints*Point)
          return(false);
       
       //Define allowed slippage
       int SlippageInPoints = 20;
       
       //Define TakeProfit and StopLoss levels 
       double TakeProfit = NormalizeDouble(Bid-10*PIP,Digits);
       double StopLoss = NormalizeDouble(Bid+10*PIP,Digits);;
    
       Ticket=OrderSend(Symbol(),OP_SELL,LotSize,Bid,SlippageInPoints,StopLoss,TakeProfit,"Spread Test",MagicNr,0,Red);
       
       if(Ticket==-1)
       {
          Alert("Sell Error: " ,GetLastError());
          return(false); 
       }
       if(Ticket>=0)
       {
          return(true);
       }
       
       return(false);
    }	
    

    As you can see only 'Buy' orders need an additional entry level correction, since 'Sell' orders are using 'Bid' as entry price. The following figure shows the outcome of this approach: 1:1 risk-reward example
    The EA based on this strategy always wins and losses equal amount of money, which in this example is equal to $10.

    That's it;)
    Greets,
    Chris


    How to become successful with Social Trading



    1. What is Social Trading?

    Social trading is an alternative way for retail traders and investors to trade forex markets. This trading concept is based on an idea of following (or basically copying) other successful traders using a social trading platform. The idea is pretty simple: all trades on your local account are automatically managed by a remotely located (hopefully successful) trader.
    social trading

    2. What is a Social Trading Network?

    A social trading network is a web based system that connects all successful traders (trading guru’s) with retail traders (the followers). Most of those platforms are focused on the social aspect of trading, allowing all following traders to comment, analyze and review the performances of all successful traders connected to given network. Doing so, users are fully in control w.r.t. the performance rating of each trader and they decide which trader is worth following.
    social trading platforms

    3. What are the Best Social Trading Networks out here?

    There are many social trading networks out here, however most of them are worthless and are specifically designed to put money into the signal provider and broker’s bank account. The reason for this is how the most trading platform work. Basically when a successful trader joins a social trading network, he (or she) wants to earn some money by sharing his trading signals. There are few mechanism of generating income from sharing profitable trades:

    1. A successful trader get his cut (a fixed commission), from the partner broker which is “recommended” by each trade sharing platform, when new users are joining in.

    2. A successful trader gets a part of increased “commission rates” that are paid by the users that are copying the trades on their accounts.

    3. A successful trader gets a part of increased “spread rates” that are paid by the users that are copying the trades on their accounts.

    The big problem is that point 2 and 3 will ruin your trading account. Even when a master account of the trader that is providing the signals is going up, due to increased commissions and spreads your account will only lose money! So it is very important to know the following: On most social trading platforms you will only lose your money!

    So, what are the best trading platforms and how to prevent from being ripped off?
    The answer is quite simple and later on I will explain you why. ALWAYS go for a platform that offers the possibility of copying remote trades using your local MT4 account! The best places you can go in that case are:

    MT4 based social trading platforms:

    zulutrade
    tradeo
    copyfx

    4. Can you make money using social trading networks? And how to optimize social trading?

    Yes, when done right, it is possible to make money by following other traders from social networks. However you need to do it in a smart way. Here comes a little smart tick I’ve learned lately. The only way I know, to make money with social trading is by “cheating” the system, and here is how to do this. Basically you need two separate MT4 accounts:

    1. MT4 account connected to a remote social network: this will be your master account that will copy every single trade from a selected successful trader. This account will most probably eventually lose some money due to larger spreads and commissions. So it should be very small < $500.

    2. MT4 account connected to first MT4 master account: this account will copy trades from the master account (1). The big difference is that this will be your “normal” account with low spread (like ECN) and low commissions. This 2nd low spread account should be used to grow your capital using social signals.

    social trading

    Here is where a free tool called, FX Blue Personal Trade Copier comes to the rescue! This tool allows you to connect two local MT4 accounts with each other, for FREE. You can download a free user guide over here. I’ve also found a YouTube video which explains how to install personal trade copier:



    Important note: Always make sure your 2nd account is not linked or connected in any way with the account that is opened or linked to your social trading network! The best approach is to open a brand new account on a different broker.


    Happy trading!
    Greets,
    Chris
    mt4 programming service
    Short about me

    Welcome to my Blog!

    I'm Chris from The Netherlands, By day I'm an engineer, forex trader and an internet entrepreneur, and by night I'm fighting internet crime;) I hope you will enjoy my website and my free MT4 software. Do not forget to check out my blog.
    B.t.w: 'coensio' (Latin) = assessing, assessment, census, estimating, opinion, rating, taxing.

    Ads
    Grab My Free eBook:
    My StrategyQuant Portfolio
    StrategyQuant strategy builder:
    Follow me on Facebook!

    Adss