Cascade ordering strategy base on mathematics and statistic

EcoEngineering
4 Nov 202222:57

Summary

TLDRIn this Eco Engineering video, host Chia leelipur introduces the Cascade ordering strategy, a mathematical and statistical approach to optimizing trade exits in Forex, crypto, and stock markets. The video is divided into three parts: explaining the strategy, demonstrating its programming in MQL4, and showcasing its performance through backtesting. The strategy involves opening new orders at the same lot size after hitting take profit, adjusting stop losses, and aiming for higher profits. The host emphasizes the importance of a solid entry strategy and responsible lot sizing for effective trading.

Takeaways

  • ๐Ÿ˜€ The video introduces a unique trading strategy called 'Cascade ordering strategy' developed by the host, based on mathematics and statistics.
  • ๐Ÿ“ˆ The strategy involves opening new orders of the same lot size after hitting a take profit, shifting the stop loss to five points below the new order, aiming to compound profits.
  • ๐Ÿ”ข The video is structured into three parts: explanation of the strategy, programming the strategy in MQL4, and testing the strategy's performance.
  • ๐Ÿ‘จโ€๐Ÿซ The host offers to teach viewers how to program the strategy in MQL4, suitable for those with no prior programming experience.
  • ๐Ÿ“Š The strategy is backtested using the Strategy Tester, demonstrating its performance over a specific period with a starting capital of $100,000.
  • ๐Ÿ’ก The Cascade ordering technique is not an entry strategy but a method to optimize exit points and maximize profit from existing trades.
  • ๐Ÿ“‰ The strategy includes scenarios for managing losses by closing orders when the price hits the stop loss, ensuring risk management is maintained.
  • ๐Ÿ“ˆ The video emphasizes the importance of a good entry strategy, stating that the Cascade technique can only amplify profits if the entry strategy is already profitable.
  • ๐Ÿ“ The host provides custom user-defined functions in MQL4 to check for new candles, count open orders for a specific symbol, and close all orders for a specific symbol.
  • ๐Ÿ“‰ The video script mentions a scenario where even if the strategy is wrong in 10 trades, it can still make a profit due to the compounding effect of correct trades.
  • ๐Ÿ‘ The host encourages viewers to subscribe and provide feedback for future video topics, emphasizing the channel's focus on algorithmic trading strategies in Forex, crypto, and stocks markets.

Q & A

  • What is the main topic of the video by Chia leelipur?

    -The main topic of the video is the introduction and explanation of a new trading strategy named 'Cascade ordering strategy' developed by the host, which is based on mathematical and statistical principles.

  • What are the three parts of the video?

    -The three parts of the video are: 1) Teaching the Cascade ordering strategy and its mathematical and statistical basis, 2) Demonstrating how to program the strategy using the MQL4 language, and 3) Showing the results and testing the strategy's performance using a strategy tester.

  • What is MQL4 language used for in the context of this video?

    -In this video, MQL4 language is used for programming the Cascade ordering strategy, which is a technique for optimizing exit points in trading.

  • How does the Cascade ordering strategy differ from traditional order closing methods?

    -The Cascade ordering strategy differs by opening a new order with the same lot size instead of closing an order when the take profit is hit, and adjusting the stop loss to five points lower than the new order's entry point, aiming to capture more profits.

  • What is the purpose of opening a new order instead of closing the existing one when the take profit is reached?

    -The purpose is to potentially capture additional profits by maintaining a position in the market and allowing for further price movement in a favorable direction.

  • What is the significance of the 'new candle' condition in the MQL4 code?

    -The 'new candle' condition is significant because it ensures that certain parts of the trading strategy are executed only once per candle, which helps in managing the timing of order placements.

  • What does the 'symbol open orders' function do in the MQL4 code?

    -The 'symbol open orders' function counts and returns the number of open orders related to a specific symbol, which is important for managing orders and applying the Cascade ordering strategy correctly.

  • How does the strategy handle the closing of multiple orders when a stop loss is hit?

    -The strategy uses a custom 'close all orders' function to close all open orders for a specific symbol when the stop loss condition is met, ensuring a systematic exit from the market.

  • What is the importance of having a good entry strategy in addition to the Cascade ordering strategy?

    -A good entry strategy is important because the Cascade ordering strategy is designed to maximize profits and efficiently close orders, but it does not provide signals for market entry. A profitable trading approach requires both effective entry and exit strategies.

  • What was the performance of the Cascade ordering strategy in the backtest shown in the video?

    -In the backtest, the strategy demonstrated a profit of $12,175 with an initial deposit of $100,000, achieving approximately 12% return on the balance in one month, based on the parameters and conditions set for the test.

Outlines

00:00

๐Ÿ“ˆ Introduction to the Cascade Ordering Strategy

The host, Chialeelipur, introduces a unique trading strategy called the Cascade ordering strategy, developed by himself, which is based on mathematical and statistical principles. The video is divided into three sections: explanation of the strategy, programming it in MQL4 language, and testing the strategy's performance. The strategy involves opening new orders at the same lot size with adjusted stop losses instead of closing orders when take profit is hit, aiming to maximize profits. The host encourages viewers to subscribe and leave comments for future video topics, emphasizing the channel's focus on algorithmic trading strategies in Forex, crypto, and stock markets.

05:03

๐Ÿ’ป Programming the Cascade Strategy in MQL4

This paragraph delves into the technical aspect of programming the Cascade strategy using the MQL4 language. It requires knowledge of programming and the script includes user-defined functions for checking new candles, counting open orders for a specific symbol, and closing all orders for a symbol. The host explains the logic behind the strategy's programming, such as checking for overbought or oversold RSI levels to determine buy or sell orders. The paragraph also discusses the importance of having a good entry strategy and how the Cascade technique is meant to optimize exit points rather than provide entry signals.

10:04

๐Ÿ“Š Backtesting the Cascade Strategy's Performance

The host demonstrates how to backtest the Cascade strategy using the strategy tester, emphasizing the importance of having a solid entry strategy as the Cascade technique does not provide market entry signals. The backtest involves setting up the strategy tester with specific parameters, including the initial deposit, symbol, and time frame. The process shows the strategy in action, opening and managing orders based on the RSI indicator, and adjusting stop losses and take profits as the market moves. The results are displayed, showing the strategy's performance over a period.

15:06

๐Ÿ† Analyzing the Results of the Cascade Strategy

In this paragraph, the host analyzes the results of the backtested Cascade strategy, highlighting the initial deposit, profit gained, and the absolute drawdown. The summary of trades shows the number of trades, win rate, and profit from short positions. The host stresses that the strategy's success is contingent on having a good entry strategy and that the Cascade technique is designed to maximize profits by efficiently managing exit points. The results are presented to illustrate the potential of the strategy when used correctly.

20:09

๐Ÿ“š Conclusion and Final Thoughts on the Cascade Strategy

The host concludes the video by reiterating the importance of the entry strategy and the role of the Cascade technique in enhancing profit efficiency. He emphasizes that the strategy's success is not standalone and depends on the effectiveness of the entry strategy. The host also reminds viewers that the lots and points used in the demonstration are for educational purposes and should be tailored to individual trading logic and risk management. He invites viewers to like the video if they found it useful and bids them farewell, promising more informative content in future videos.

Mindmap

Keywords

๐Ÿ’กCascade Ordering Strategy

The Cascade Ordering Strategy is a unique trading strategy developed by the host, Chia leelipur, which is grounded in mathematical and statistical principles. It is designed to optimize exit points in trading by opening new orders of the same size after hitting a take profit, thereby cascading the stop loss to a more favorable position. This strategy is central to the video's theme as it is the main technique being taught and demonstrated.

๐Ÿ’กMQL4 Language

MQL4, which stands for MetaQuotes Language 4, is a programming language used for creating custom indicators, scripts, and automated trading systems for the MetaTrader 4 platform. In the video, the host teaches viewers how to program the Cascade Ordering Strategy using MQL4, making it a key concept for those interested in implementing the strategy programmatically.

๐Ÿ’กRisk to Reward Ratio

The risk to reward ratio is a fundamental concept in trading that compares the potential loss (risk) of a trade to its potential gain (reward). In the script, it is mentioned that the host establishes a stop loss 10 pips below the entry point and a take profit 20 pips above it, indicating a risk to reward ratio of 1:2. This concept is crucial for understanding how the Cascade Ordering Strategy manages risk.

๐Ÿ’กStop Loss

A stop loss is an order placed with a broker to sell a security when it reaches a certain price. It is designed to limit an investor's loss on a position. In the context of the video, the stop loss is used to protect against unfavorable market movements and is adjusted as new orders are opened following the Cascade Ordering Strategy.

๐Ÿ’กTake Profit

Take profit is an order set by a trader to sell a security when it reaches a certain price, locking in a certain profit level. In the video, instead of closing an order when the take profit is hit, the host opens a new order with the same lot size and adjusts the stop loss, aiming to capture additional profits as the market moves in a favorable direction.

๐Ÿ’กAlgorithmic Trading

Algorithmic trading refers to the use of computer programs to execute trades automatically based on predefined criteria. The host mentions that the channel focuses on different strategies for Forex, crypto, and stock markets, specifically on creating algorithms for them and using algorithmic trading in daily tradings, highlighting the importance of automation in implementing trading strategies.

๐Ÿ’กRSI (Relative Strength Index)

The Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements. It is used to identify overbought or oversold conditions in the market. In the video, the host uses RSI levels to determine entry points for trades, preferring to sell when the RSI is in the oversold area and buy when it is in the overbought area.

๐Ÿ’กStrategy Tester

The Strategy Tester is a tool within the MetaTrader platform used to backtest trading strategies on historical data. In the video, the host uses the Strategy Tester to evaluate the performance of the Cascade Ordering Strategy, demonstrating its effectiveness over a specific period using historical price data.

๐Ÿ’กLot Size

Lot size refers to the number of units of a security that a trader intends to buy or sell in a single transaction. The host discusses lot size in the context of opening new orders with the same lot size after hitting a take profit, emphasizing the importance of appropriate lot sizing in managing risk and maximizing profit.

๐Ÿ’กBacktesting

Backtesting is the process of testing a trading strategy using historical data to see how it would have performed. It is a key part of the video as the host uses backtesting to demonstrate the performance of the Cascade Ordering Strategy, providing insights into its potential profitability and risk.

Highlights

Introduction of the Cascade ordering strategy, a unique mathematical and statistical approach developed by the host.

The video is structured into three parts: strategy explanation, programming in mql4, and performance testing.

Cascade strategy involves opening new orders of the same size instead of closing when take profit is hit, moving stop loss to five points lower.

The strategy's performance is demonstrated through various scenarios, illustrating potential profits and losses.

Explanation of the traditional order closing method versus the Cascade strategy's approach to maximize profits.

The importance of having a good entry strategy into the market before applying the Cascade technique.

Programming the Cascade strategy using mql4, including custom functions for new candle detection and symbol-specific open orders.

The video provides a step-by-step guide on implementing the strategy in mql4, suitable for viewers with programming experience.

Discussion on the logic behind opening and closing orders based on RSI levels, favoring contrarian entry points.

The strategy's performance is backtested using the strategy tester, with settings for initial capital, time frame, and other parameters.

Results from the backtest, showing a 12% gain in balance with a maximum drawdown of 1% of the balance.

Emphasis on the importance of risk management, with stop losses set to ensure only a small percentage of the balance is at risk per trade.

The strategy's effectiveness is highlighted by the potential to be wrong on multiple trades and still maintain profitability.

A reminder that the lots and points used in the video are for educational purposes and should be tailored to individual trading strategies.

The video concludes with a reminder that the Cascade technique is not an entry strategy but a method to optimize exit points and maximize profits.

An invitation for viewers to request videos on specific topics, including the custom functions used in the strategy.

A call to action for viewers to like the video to support the channel and help it reach a wider audience interested in algorithmic trading.

Transcripts

play00:00

Hello everybody welcome to your channel

play00:02

Eco engineering this is your host Chia

play00:04

leelipur in this video I'm going to

play00:07

teach you a new strategy named Cascade

play00:09

ordering strategy this strategy was

play00:11

developed by myself I have never seen

play00:13

anybody else use it and it's completely

play00:16

based on mathematics and statistics uh

play00:19

this video has three different parts in

play00:22

the first section I will teach you the

play00:24

strategy we will talk about the uh

play00:27

mathematics and statistics behind it and

play00:30

in the second section I teach you how to

play00:33

program it with mql4 language and in the

play00:35

third section I will show you the

play00:39

results and test this strategy by using

play00:42

strategy user and we can see the

play00:43

performance of this strategy if if this

play00:47

is your first time watching our Channel

play00:48

I would really appreciate to hips hit

play00:50

subscribe button in this channel we

play00:52

focus on different strategies in Forex

play00:54

crypto and stocks markets and

play00:56

specifically on I'm making an algorithm

play01:00

for them and using algorithmic trading

play01:02

in our daily tradings if you have any

play01:05

suggestion for upcoming videos and you

play01:08

want me to make a video regarding them I

play01:11

would really appreciate to leave me a

play01:13

comment I will read them and consider

play01:15

them for upcoming videos I hope you

play01:18

enjoyed this video and stay with me to

play01:20

the end

play01:22

normally when we open an order based on

play01:25

any strategy and we enter into the

play01:29

market we have established for example

play01:31

10 P 10 points or Pips lower than the

play01:34

entry point and if the risk to reward is

play01:38

two we put the take profit 20 Pips or

play01:41

points higher than the entry point and

play01:43

whenever the price goes high and uh it

play01:47

goes in our favor and hit the take

play01:49

profit

play01:50

we close the open order

play01:53

and if it goes down and hit the establas

play01:56

we close the order with losing money but

play02:00

with this strategy instead of closing

play02:03

the order when we hit the take profit we

play02:05

open a new order exactly with the same

play02:07

lot size and transfer the establas to

play02:11

five

play02:12

points lower than the new

play02:15

open orders and we hope that the price

play02:20

goes higher

play02:21

and we make more money because in this

play02:25

case we have two open orders

play02:27

but

play02:29

the first scenario is that the price

play02:31

does not goes in our favor and it goes

play02:34

back and hit this Star Plus which is in

play02:38

this case is establas for second open

play02:40

order and take profit for the first open

play02:42

order

play02:44

uh we calculate the profit that we have

play02:47

in this scenario the profit would be one

play02:50

lot multiply 50.1 lot for this order uh

play02:55

which gained 15 points plus minus one

play02:58

Lord multiply five point for this open

play03:01

order which

play03:02

uh it lost four five points and the

play03:06

result would be 10 unit

play03:09

so

play03:11

if we didn't do that

play03:14

then we would have gained 20 points 20

play03:17

20 units and now we have gained 10 units

play03:21

but we continue we continue and see

play03:24

other scenarios imagine that price goes

play03:27

in our favor and uh increased by 20

play03:31

points in this case again instead of

play03:33

closing the order we open a new order

play03:36

with exactly the same lot size and we

play03:39

transfer the stop loss to five point

play03:43

below the New Order and in this case

play03:45

then this line would be take profit for

play03:48

the first and the second

play03:50

order and star plus four the third one

play03:54

and we are hoping that the price goes

play03:59

even higher and we gain and if we

play04:01

multiply actually our profit but the

play04:05

first scenario is that the price doesn't

play04:06

do that and it goes back and hit this

play04:09

stop loss

play04:10

and we calculate our profit the first

play04:14

profit that we have is one lot

play04:16

multiplies 35 regarding the first order

play04:20

Plus

play04:23

one large multiply 15 points regarding

play04:26

the second order

play04:28

and plus minus one lad multiply five

play04:32

point regarding the third open order

play04:34

which last

play04:36

three

play04:37

Five Points in this case

play04:41

the profit would be 45 units

play04:44

see it's increased very fast but again

play04:49

we continue we continue the scenarios

play04:52

now imagine that a game price goes even

play04:55

higher

play04:56

and after 20 points

play04:59

we open again another order

play05:02

and we hope that price goes higher so

play05:05

our profit would be multiply

play05:09

and we transfer the stablas Five Point

play05:13

lower than below the force order which

play05:17

is only the established for this order

play05:19

and take profit for the others

play05:22

again we hope that the price goes higher

play05:24

but in this case the first scenario is

play05:27

that the price goes down and hit the

play05:30

establas and we calculate the profit the

play05:33

profit would be one lot multiplier 55

play05:36

for regarding the first order Plus

play05:40

one lot multiplies 35 Point Plus

play05:43

one lad multiply 15 points regarding the

play05:48

second and the third open order and plus

play05:50

minus one that multiply 5 unit regarding

play05:53

the last order and then in this case

play05:57

we gain 100 units

play06:01

so

play06:03

uh imagine that only once per month we

play06:07

get to this point and we hit the force

play06:11

open orders

play06:13

in this case we need to

play06:16

be wrong in 10 other orders and we hit

play06:21

the establas for the next 10 orders to

play06:24

lose this money that we gained here

play06:26

statistically speaking this way of

play06:30

closing the order is

play06:33

perfect actually I have worked with that

play06:35

a lot in the next section I will teach

play06:38

you how to program this strategy and in

play06:41

the last section we will

play06:43

uh test this strategy by using strategy

play06:46

tester Stay With Me

play06:51

so in this part of the video I will show

play06:53

you how I program this strategy uh with

play06:57

mql4 language if you are not interested

play06:59

in the programming side programming

play07:01

section I will suggest you

play07:04

to pass this video to the minute and the

play07:07

second that you can see here to see only

play07:10

the results of this strategy and its

play07:12

performance

play07:13

so this section of the video needs some

play07:16

knowledge about the programming with MP4

play07:19

language if you don't have any

play07:21

experience I leave you uh the link to

play07:24

the video that I started completely from

play07:27

A to Z and even it's suitable for those

play07:30

who doesn't have any experience in

play07:32

programming I teach it I had it from

play07:35

very Basics so ah the first thing is

play07:39

that we have here is an if condition and

play07:42

I check it whether it is the new candle

play07:43

or not because I want to send a cell or

play07:46

buy order only at the beginning of the

play07:50

candle we don't have such predefined

play07:52

function in mql4 and I had to write it

play07:56

down by myself I used three user defined

play08:00

function and at the end of this section

play08:02

I will explain how they are worked I

play08:05

once I wrote them and now I saved them

play08:08

in my most common includes and for any

play08:11

new projects even in the future I don't

play08:15

have to write them down again and I just

play08:18

call them and use them so if it's new

play08:21

candle it means trade is okay I am ready

play08:23

to send

play08:24

an order so

play08:27

here I'll check

play08:29

here we have another if

play08:32

condition I check the number of open

play08:36

orders for a specific symbol if you are

play08:41

familiar with the mq4 language normally

play08:45

we use orders total to see the open

play08:48

orders but this order totals return all

play08:50

open orders but it doesn't separate them

play08:53

based on the symbols for example when we

play08:55

have 10 orders orders totals return 10

play08:57

but maybe I'm just interested in two of

play09:00

them which are related to the euro USD

play09:03

so I had to wrote down write down

play09:06

another another

play09:09

a user defined function which is simple

play09:12

open orders and I show you at the end of

play09:14

this section two and if the open orders

play09:17

for specific symbols is zero it means

play09:20

we can go for our open or order strategy

play09:25

not uh not

play09:28

closing strategy remember these

play09:31

techniques this Cascade ordering

play09:33

techniques is just for closing and

play09:35

optimizing our exit points not for

play09:38

opening a new strategy this strategy is

play09:41

very simple it checks whether we are it

play09:44

checks whether we are in the oversold

play09:46

RSI or overbought RSI levels if in

play09:51

contrast with what is common between

play09:52

people and new Traders I prefer whenever

play09:56

I start to get

play09:59

into or enter the oversolds area I want

play10:03

to sell and if I entered into the the

play10:08

overbought area I wanna buy and this is

play10:11

strategy work like that and after that

play10:13

the process after opening the first

play10:15

order from this else to the end the

play10:18

process of opening second and third and

play10:20

fourth order starts and here we have two

play10:24

separate sections

play10:27

the first section is when the first open

play10:30

order is by and the second section is

play10:33

when the first open order is sell it

play10:36

checks

play10:38

checks when whether when the ask is

play10:41

greater than take profit and the first

play10:43

order is Buy

play10:45

and then it update the take profit and

play10:49

update the stop loss and open a new buy

play10:52

order

play10:54

but in this section when the first open

play10:57

order is sell the first open order is

play11:00

sell at this one is means that it's not

play11:04

by the first order is not by

play11:07

and when and at the same time the beat

play11:10

is less than take profit it sends a new

play11:13

sell order and update take profit and

play11:16

stop loss

play11:18

ah and uh

play11:21

after that for closing the orders we

play11:25

should have

play11:26

another section here for closing the

play11:29

orders when for example we open 10

play11:31

orders and at the tense order uh it goes

play11:35

back and hit the stop loss we should

play11:38

close all of them based on some

play11:40

technical issues I prefer instead of

play11:42

writing them writing it down here to

play11:45

write it down at the beginning of the

play11:47

code which is Trail stop loss and

play11:49

closing it

play11:50

in this section

play11:52

if uh if the conditions met then I send

play11:58

the order of closing all open orders

play12:02

and again I use a user defined function

play12:06

which is defined by myself

play12:08

close orders say mql4 language has a

play12:12

predefined function names

play12:14

uh

play12:16

order close but this order closed just

play12:19

close one

play12:21

order I want to close all open orders

play12:26

only regarding a specific symbol that's

play12:30

why I write I wrote down this code by

play12:34

myself several years ago and I saved it

play12:36

in my most common includes

play12:39

and when these conditions are true then

play12:42

we close all

play12:44

open orders and I mentioned three

play12:47

previous three user defined function

play12:50

which I'm using by myself the first one

play12:53

if you remember was

play12:55

new candle

play12:57

because

play12:58

I want to send some I want to

play13:02

run some part of the code only once per

play13:05

candle so I had to

play13:08

uh Define these codes and I usually use

play13:12

it a lot in different codes that's why I

play13:14

saved it you can pause the video and

play13:17

read it because I think it would be

play13:19

interesting for you too and if you are

play13:22

interested did I please leave me a

play13:26

comment to make a video for that I will

play13:27

consider it for each of these user

play13:30

defined functions if you are interested

play13:32

in them please let me know I will

play13:33

consider them for upcoming videos and

play13:36

the second

play13:37

user defined function was symbol open

play13:40

orders this one which is again it's

play13:43

written by myself because I needed a lot

play13:45

in different projects and different

play13:47

codes that's why I saved it and

play13:50

it just

play13:53

check the name of

play13:55

open orders with the in

play13:59

symbol or name which is entered by

play14:03

a user and check it and if they were

play14:07

equal to each other

play14:10

in we have a counter name open orders

play14:13

open orders and this counter would be

play14:16

added by one would be increased by one

play14:18

and it just count count at the end at

play14:21

the end

play14:22

it Returns the number of open orders

play14:24

related to a specific symbol you can

play14:27

again pose this part of the video too

play14:30

and read it more carefully and if you

play14:33

want me you place them to have to make a

play14:36

video for that please leave me a comment

play14:37

and the last and not least but not least

play14:39

is the close all orders which is written

play14:43

here I suggest you to post this part of

play14:45

the video too and look at it carefully

play14:49

in the next section I will

play14:51

show you the performance and the results

play14:55

of this strategy

play14:57

again I don't like to call it a strategy

play15:00

I prefer to call a technique to close

play15:02

the orders because

play15:05

it's just it just make your strategy

play15:08

more efficient first of all you have to

play15:11

have a very good strategy to enter the

play15:16

market and this strategy doesn't give

play15:18

you a signal to enter the market this

play15:20

strategy just help you to maximize

play15:22

maximize your profit in previous section

play15:25

I showed you how I program this strategy

play15:27

and in this section we use strategy

play15:29

tester to back test these techniques

play15:32

first the entry strategy is very simple

play15:34

we just enter this enter the market by

play15:39

based on the other side and whenever the

play15:42

RSI is going for example into the

play15:45

overbought area we send an order we hope

play15:49

that it continues the trend and whenever

play15:52

it goes to oversold area we send a sell

play15:55

order to and hope that the

play15:59

uh Trend will continue now and then

play16:02

after opening the first order we check

play16:04

it whenever we hit the take profit

play16:08

uh instead of closing the order we open

play16:10

new orders and we do that as many time

play16:13

as possible until we hit the stop loss

play16:16

so first I from here I open the strategy

play16:21

Tester the strategy tester is opened

play16:24

I chose the Cascade ordering code which

play16:28

is the

play16:30

code of this strategy and from here I

play16:33

choose Euro USD and I from here I use

play16:37

the date from when to when I wanna test

play16:40

this strategy from first of

play16:42

Argos to force of

play16:45

September

play16:46

and from the expert properties in the

play16:50

testing I want my initial value be 100

play16:54

000 USD I wanted to

play16:57

be able to open buy and sell or long or

play17:01

short positions

play17:02

and the inputs of the strategy the

play17:05

inputs of these code is written here and

play17:10

we can give them initial values if you

play17:13

are not familiar with that I again leave

play17:15

you the link for

play17:16

uh its course and you can find it and

play17:20

see the course and learn how to use it

play17:23

so

play17:24

now the strategy tester is ready

play17:28

and I press ok

play17:32

and now the period I wanna I want this

play17:37

strategy this could be run on the one

play17:41

hour time frame

play17:43

and the speed will be controlled from

play17:45

here everything is controlled now if I

play17:48

press the starter strategy with star to

play17:50

run I press start and I add a template a

play17:56

clean one which is used here

play17:58

and

play18:01

we it starts to running after

play18:04

downloading the data of previous months

play18:07

for this Euro USD

play18:10

symbol it takes a while

play18:13

it's downloading

play18:15

and we wait for it and it's already

play18:17

download and I press run and it starts

play18:20

running see the first order is opened

play18:23

and it waits to go higher and if it goes

play18:26

back and hit the stop loss it's over we

play18:28

lost it because our entry

play18:30

uh was not correct but if it's go

play18:32

continue and Go in our favor then it

play18:35

open new order in this case it didn't go

play18:38

in that way

play18:41

we wait for it and now here it goes in

play18:45

our favor it opens the second order and

play18:48

the third order was opened here and it

play18:51

goes higher but it couldn't reach the

play18:54

point to open the force order and it

play18:57

goes back and here it closed or orders

play19:01

now again

play19:05

I it comes down the first order was open

play19:08

then the second order was open but it

play19:09

couldn't reach the for the third order

play19:11

and

play19:13

it continues

play19:15

as we can see

play19:22

it's going very fast

play19:28

but I think

play19:33

if we see the results we can see here

play19:35

for example here as you can see for

play19:38

example here as you can see we have

play19:40

three orders it couldn't reach the

play19:43

fourth orders the first orders closed

play19:46

with uh

play19:49

3592 dollars in profit one the second

play19:52

one is one hundreds

play19:55

1663 dollar and uh

play19:59

Force search third one minus 261 dollar

play20:04

uh is lost and if I goes down we can see

play20:08

all the results the graph is like that

play20:10

it's going in this sleep page very

play20:14

beautiful one and uh now as you can see

play20:17

this is the result of this strategy

play20:21

um

play20:22

the initial deposit was one thousand one

play20:25

hundred thousand dollar uh we gained uh

play20:29

twelve thousand dollar twelve thousand

play20:31

twelve thousand one hundred seventy five

play20:33

dollars

play20:34

uh and the absolute drawback is written

play20:37

here the total trades 30 trades were

play20:40

open in these one month the short

play20:43

positions that we won

play20:46

uh is 43 percent of them closed by

play20:49

profit

play20:51

and you can see all other data related

play20:54

to this strategy but at the end without

play20:57

risking whole balance with having only

play21:00

risking one percent of our

play21:03

uh and balance because whenever we open

play21:06

we open an order the establas was in a

play21:09

place which when we hit it we only would

play21:13

have lost one person out of our balance

play21:16

so with all with only uh with having a

play21:20

logical stablas we gained about 12

play21:25

percent of our balance in one month uh

play21:28

before finishing this video I want to

play21:30

notice that all the lots and points

play21:33

which were used and mentioned in this

play21:35

video actually they are for just

play21:37

educational purposes for example these

play21:39

one lots that I mentioned is should not

play21:41

be always one last it should be based on

play21:43

the logic and risk to reward and what is

play21:47

optimized optimized lot size for your

play21:49

tradings it should be calculated but

play21:51

here I just wanted to see to show you uh

play21:54

the mathematics and I wanted it to be as

play21:56

easy as possible that's why I used 1.10

play22:00

one last 10 points for Star Plus and 20

play22:03

points for take profits it can be

play22:06

anything and any combination and you can

play22:08

do it even more efficient than me and

play22:10

the second one is I want you I want to

play22:13

mention you again that the interest

play22:15

strategy is very important this strategy

play22:19

or it's better to say techniques that I

play22:21

showed you in this video is actually

play22:23

just a strategy and techniques to gain

play22:26

more money to be more efficient and to

play22:29

increase and multiply your profit it's

play22:32

not an entry point strategy if your

play22:36

interest strategy for inter the market

play22:39

is not a good one and it's not a

play22:41

profitable one there's techniques does

play22:44

not help you a lot I hope you enjoyed

play22:47

this video If you enjoyed it please hit

play22:48

the like button so the algorithm YouTube

play22:50

will introduce us to those who are

play22:52

interested in this subject

play22:54

I wish you have a good day goodbye

Rate This
โ˜…
โ˜…
โ˜…
โ˜…
โ˜…

5.0 / 5 (0 votes)

Related Tags
Algorithmic TradingTrading StrategyForex MarketCrypto TradingStock MarketMQL4 ProgrammingRisk ManagementProfit MaximizationTechnical AnalysisEco EngineeringCascade Strategy