Skip to content

Commit

Permalink
Rename identity
Browse files Browse the repository at this point in the history
  • Loading branch information
erlonfs committed Jan 27, 2018
1 parent d695572 commit 8c3fc62
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# mt5-sample-robot
# sample.bad-robot
Este é apenas um exemplo para começar.


Expand Down
Binary file modified sample.mq5
Binary file not shown.
8 changes: 4 additions & 4 deletions src/Sample.mqh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include <Trade\Trade.mqh>
#include <Trade\PositionInfo.mqh>
#include <Framework\Base.mqh>
#include <BadRobot.Framework\BadRobot.mqh>

class Sample : public Base
class Sample : public BadRobot
{
private:

Expand All @@ -25,15 +25,15 @@ class Sample : public Base

void Execute() {

if(!Base::ExecuteBase()) return;
if(!BadRobot::ExecuteBase()) return;

//Logic Here

};

void ExecuteOnTrade(){

Base::ExecuteOnTradeBase();
BadRobot::ExecuteOnTradeBase();

//Logic Here

Expand Down

0 comments on commit 8c3fc62

Please sign in to comment.