Rajandran R FollowTelecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, USDINR and High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in and Co-Creator of Algomojo (Algorithmic Trading Platform for DIY Traders)
CodeSnippets : Condition based Gradient Vertical Fill in Amibroker
25 sec read
Here is a simple Amibroker tutorial to build a good looking trading system. Just have a look into the charts provided below where the buy signals are represented by Red and Black blended gradients and the sell signals are represented by Pale Green and Black blended colour gradients.
[wp_ad_camp_5]
If you want to seperate your charts into Zones (For example Bull Zone or Bear Zone) then the functions colorBlend and the parameter styleGradient comes handly. Here is a below example which can be mapped with any trading system. Just copy the codes and paste to your trading system afl below the Buy/Sell parameters. And you are done.
https://gist.github.com/b9a89821937ea09968d7
Rajandran R FollowTelecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, USDINR and High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in and Co-Creator of Algomojo (Algorithmic Trading Platform for DIY Traders)
Amibroker is a powerful technical analysis and trading system development platform, used extensively by traders and analysts for developing and deploying trading strategies. Python,...
Profit tables are a valuable tool for traders and investors to analyze the trading strategy performance of their investments over time. However, the traditional...
5 Replies to “CodeSnippets : Condition based Gradient Vertical Fill in Amibroker”
When we overlay on marketcalls signal chart message board box in the top is getting cut
Yeh it affects the dashboard. And no solution for that as of now.
Hi Raj,
Is this method used for trailing stop The trailing stop will be equal to TS and all other stops in this article will be expressed as a percentage of the average body size of the last five candlesticks (high-low) in the current chart.
When we overlay on marketcalls signal chart message board box in the top is getting cut
Yeh it affects the dashboard. And no solution for that as of now.
SIR,CAN I GET
ibuy = Flip(Buy,Sell);
isell= Flip(Sell,Buy);
Plot(ibuy, “”, ColorBlend( colorPaleGreen, colorBlack ), styleGradient | styleHistogram | styleOwnScale );
Plot(isell, “”, ColorBlend( colorred, colorBlack ), styleGradient | styleHistogram | styleOwnScale );
FOR METATRADER 4 PLEASE KINDLY DO THE NEEDFUL.
Hi Raj,
Is this method used for trailing stop The trailing stop will be equal to TS and all other stops in this article will be expressed as a percentage of the average body size of the last five candlesticks (high-low) in the current chart.
Was reading this article
https://www.mql5.com/en/articles/442
It is a customized trailing stop similar to supertrend http://www.marketcalls.in/amibroker/10-things-to-know-about-supertrend-v2-0-afl-code.html