Range Robot free
Description
This code is a cAlgo API sample.
The "Sample Breakout Robot" will check the difference in pips between the Upper Bollinger Band and the Lower Bollinger Band and compare it against the "Band Height" parameter specified by the user. If the height is lower than the number of pips specified, the market is considered to be consolidating, and the first candlestick to cross the upper or lower band will generate a buy or sell signal. The user can specify the number of periods that the market should be consolidating in the "Consolidation Periods" parameter. The position is closed by a Stop Loss or Take Profit.
Warning! Executing the following cBot may result in loss of funds. Use it at your own risk.
Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.
Formula / Source Code
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - / / / / T h i s c o d e i s a c A l g o A P I s a m p l e . / / / / T h i s r o b o t i s i n t e n d e d t o b e u s e d a s a s a m p l e a n d d o e s n o t g u a r a n t e e a n y p a r t i c u l a r o u t c o m e o r / / p r o f i t o f a n y k i n d . U s e i t a t y o u r o w n r i s k . / / / / A l l c h a n g e s t o t h i s f i l e w i l l b e l o s t o n n e x t a p p l i c a t i o n s t a r t . / / I f y o u a r e g o i n g t o m o d i f y t h i s f i l e p l e a s e m a k e a c o p y u s i n g t h e "