Thursday, December 8, 2022

SYNTHETIC CRASH 500 RSI INDICATOR

Hi and thank you for visiting my blog. 

Let's talk EA's and strategy, the easiest EA to use with Crash 500 is the RSI, and simply put, you can sell based on the value, I created a simple EA which monitors the RSI value and then in turn would print a simple arrow on the chart when the RSI reaches specific levels. 

You may find it useful, but you also may not find it useful. 

What I can say, is that most of the BOTS I have seen for Crash 500 uses this simple strategy and sells with a wide SL when the RSI reaches specific levels. 

You could take this EA and turn it into a simple BOT by simply adding in the trade function together with trailing stops. 

You can download the EA here, simply add it to your chart and you are good to go. A word of warning, this EA simply uses RSI, so ensure you are analyzing the charts in conjunction with this EA in order to take entry. If you simply follow this EA you will lose money. 

In my next post, let me know if I should discuss how to create a simple BOT using this strategy. 

I can also show you how you can simply leverage market direction in order to make this EA more accurate. 

*NB, trading is risky, many people lose money when trading forex pairs.
*NB, this is not financial advice, nor am I qualified to provide it.

Wednesday, November 30, 2022

SYNTHETIC CRASH 500 INDEX

Hi, and thank you for coming over to my blog. 

First off, do you understand Forex? Do you understand what a synthetic indices are and which broker offers these as tradeable.

So if you are new, a sythetic indice in a nutshell is an indice that is not affected by fundamentals.These are typically offered by a broker called DERIV. The most common traded pairs are VIX 75 which offers a great ROI. 

But, let's chat about Crash 500, there are many strategies available on the internet and many videos which show different types of trading strategies. The easiest and most common is to use price action and then the RSI indicator, the simplest method is to sell when RSI hits 90 (using 1m timeframe) and hold based on different levels. 

Go have a look at the chart 90% of the time Crash 500 fall after it its the 80 or 90 levels on the RSI, its a simple way to get you started with a synthetic index and Deriv.

If you have not registered a Deriv Account, you can register by following this link

Monday, July 18, 2022

Loading appsettings.json in a different project type

So I found myself in a situation where I needed to access data stored in a configuration file for a DOTNET Core project, so I dug around and found that a few steps are required which are listed below: 

  • Add references to the following Nuget packages 

  • Add your empty appsettings.json file to the root of your project 
  • Add the below code entry:


Once complete you should be able to access the appsettings as you usually do in any dotnet core web project. 

Thursday, June 6, 2013

Deleting a WebPart from the WebParts Gallery using PowerShell

So you have a requirement to remove a webpart or multiple webparts from the webparts gallery in SharePoint and you need to do this with Windows PowerShell. One thing to remember is that the webparts gallery is the same as any other gallery in SharePoint and your task can easily be achieved using PowerShell. The below code will remove a webpart from the webparts gallery:

function RemoveWebPartsFromGallery([string]$siteUrl)
{
# an array of the custom webparts that were built;
$customWebPart = New-Object System.Collections.ObjectModel.Collection[System.String]
$customWebPart.Add("CustomWebPart")

$site = Get-SPSite $siteUrl

# the default SP type for a webpart gallery;
$wpCatalog = [Microsoft.SharePoint.SPListTemplateType]::WebPartCatalog

$list = $site.GetCatalog($wpCatalog)

$wpID = New-Object System.Collections.ObjectModel.Collection[System.Int32]

foreach ($item in $list.items)
{
foreach ($wps in $customWebPart)
{
if ($item.Name.ToLower().Equals($wps))
{
$wpID.Add($item.ID)
continue
}
}
}

foreach ($i in $wpID)
{
$wpitem = $list.GetItemById($i)
$wpItem.Delete()
}

$list.Update()

Write-Host "WEBPARTS REMOVED FROM GALLERY" -ForegroundColor Green
}

You can check out the original script here a big thanks to Srinivas Challagolla for the script. 

The script has greatly helped me I hope that it has helped you. Happy scripting guys :-)

Wednesday, May 29, 2013

STSADM VS POWERSHELL SOLUTION DEPLOYMENT

PowerShell Deployments

So everyone is familar with STSADM command prompt and we have all learned to love it. So now we have PowerShell, so to get you started please have a look at the following links which are great resources to get you started for deploying a "WSP" Package using powershell.
There are many more resources available out there - but those are the two I decided to use. You can see the basic commands for deployment below:


Add Solution

ADD-SPSOLUTION [SOLUTION LOCATION]

Deploy Solution

INSTALL-SPSOLUTION -IDENTITY [SOLUTION NAME] -GACDEPLOYMENT -WEBAPPLICATION [URL]

You can also check out a few MSDN articles:


Hope these articles help you out :-)

SharePoint Timer Jobs

How to create a SharePoint 2010 Timer Job...

So I have finally found sometime to create a post on how to create a SharePoint 2010 timer job. I had a look around and found many, many post already out there and they are awesome.

Please have a look at Andrew Connels blog post as it is a great resource to use for creating SharePoint timer jobs.

Another resource that I found very useful was SharePoint Tips for creating various timer job schedules.

So happy coding everyone, I hope these resources can help you.

Tuesday, May 14, 2013

Deploy SharePoint 2010 master page using a module

So this post may or may not be a bit overdue, but deploying various files with a module makes life for us as developers pretty simple. In this post I will detail the steps to deploy your custom developed SharePoint 2010 master page into the master page gallery.

So the first step is to create a new module in Visual Studio





















By default the following files below are you created for you when a module is created, you can go ahead and delete the "Sample.txt" file as we will add our master page shortly.










You can down download a fantastic starter master create by Randy Drisgill from the following link.

Once you have downloaded the master page, add the master into the module.

Now once the master page has been added - open the "Elements.xml" file and add replace with the following:












And it is as simple as that - you can now deploy your custom built master page into the master page gallery with ease. I hope that this post has helped you. 

Happy Branding :-)