Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
Rejoignez notre page de fans
Rejoignez notre page de fans
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
- Vues:
- 9567
- Note:
- Publié:
- 2020.01.11 10:15
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Simple code for Candle Cross above or below Conditions..
mt4 version:- https://www.mql5.com/en/code/27596
Note: This is just a sample
Main Function
bool crossed[2]; //+------------------------------------------------------------------+ int OnInit() { for (int i = 0; i < ArraySize(crossed); i++) crossed[i] = true; return(INIT_SUCCEEDED); } //+------------------------------------------------------------------+ void OnTick() { if(CopyOpen(Symbol(), PERIOD_CURRENT, 0, 2, Open) <= 0) return; ArraySetAsSeries(Open, true); //Your Buy condition if(Cross(0,Open[0] > Condition)) { ....//your conditions//... } //Your Sellcondition if(Cross(1,Open[0] < Condition)) { ....//your conditions//... } } //+------------------------------------------------------------------+ bool Cross(int i, bool condition) { bool ret = condition && !crossed[i]; crossed[i] = condition; return(ret); }

Welcome to the Binary Testinator. The Purpose of this EA is for testing different Indicators to optimize a trade scenario. Everyone has an opinion on what is the best trade setup, and advice is never ending! Better if you test it out...

Perfect Trend Line 2

Just for experiment and to demonstrate the possibilities of Canvas. The price is drawn in the polar coordinate system by winding circles.

This is an indicator w/o buffers which demonstrates parallel multi-threaded calculations in chart objects hosting worker expert adviser.