Expert Advisors: TradePad_Sample

 

TradePad_Sample:

Here are some examples of objects implementation to build a table of trade symbols. By pressing the symbol on graphic object Chart (OBJ_CHART) the price data of this symbol are loaded. Each symbol panel has color that shows the current trend of the timeframe specified. The colors are:

  • Red color - downtrend (value of Stohastic > 80);
  • Green color - uptrend (value of Stohastic < 20);
  • Grey color - flat (the value of Stohastic between 20 and 80);
  • Sand color - the price data on the symbol are absent.

The trading functions for the buttons Buy and Sell is not implemented, you can do it yourself as you need. The function for trend determination GetColorOfSymbol () also can be rewritten as you like. The code was written long ago, and quite possibly not optimized (especially for access to the indicator and price data). All the classes used are included, put them in the same folder with TradePad_Sample.mq5 expert.

TradePad

Author: MetaQuotes


 

Hi

Super application. Thanks for your effort. Why isn't it trading?

 

One can do a trade scanner form this scratch. See video


 
Nuri Doganay:

Hi

Super application. Thanks for your effort. Why isn't it trading?

Yeah why? Read the description and you have your answer 'The trading functions for the buttons Buy and Sell is not implemented, you can do it yourself as you need' Conclusion; it's perhaps manually operated by you when you have implemented the needed functions to make it work

Documentation on MQL5: Trade Functions / OrderSend
Documentation on MQL5: Trade Functions / OrderSend
  • www.mql5.com
[in,out]  Pointer to a structure of MqlTradeResult type describing the result of trade operation in case of a successful completion (if true is returned). parameter are filled out correctly. If there are no errors, the server accepts the order for further processing. If the order is successfully accepted by the trade server, the OrderSend...
Reason: