2 bar supply and demand strategy

Strategies are published here.

Moderator: admin

2 bar supply and demand strategy

Postby Apprentice » Fri Jan 25, 2019 6:52 am

1.png

2.png

2 bar supply and demand strategy.lua
(106.45 KiB) Downloaded 550 times


Based on 2 bar supply and demand.lua
viewtopic.php?f=17&t=67299
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: 2 bar supply and demand strategy

Postby kankatrader » Fri Jan 25, 2019 8:58 am

Hello

the following error is displayed

C:/Program Files (x86)/Candleworks/FXTS2/Strategies/Custom/2 bar supply and demand strategy.lua:70: C:/Program Files (x86)/Candleworks/FXTS2/Indicators/Custom/2 bar supply and demand.lua (-1, -1) : E19 - nil
kankatrader
 
Posts: 38
Joined: Fri Jan 14, 2011 6:26 am

Re: 2 bar supply and demand strategy

Postby Apprentice » Fri Jan 25, 2019 11:34 am

I forgot to mention, you have to install 2 bar supply and demand.lua
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: 2 bar supply and demand strategy

Postby kankatrader » Fri Jan 25, 2019 12:39 pm

I have already installed the indicator

The strategy only works with the backtest tester. as soon as I activate the strategy in trading mode the error message comes up after some time
kankatrader
 
Posts: 38
Joined: Fri Jan 14, 2011 6:26 am


Re: 2 bar supply and demand strategy

Postby kankatrader » Mon Jan 28, 2019 12:28 pm

it must have gone something wrong. That's no strategy anymore. Look at the content of the code
kankatrader
 
Posts: 38
Joined: Fri Jan 14, 2011 6:26 am

Re: 2 bar supply and demand strategy

Postby Apprentice » Mon Jan 28, 2019 1:47 pm

Try it now.
Make sure to re-download both files.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 20 guests